CVE-2026-56709

Summary

Grav before 3.9.2 fails to validate untrusted Host headers in the sendInvitationEmail() function when constructing token-bearing invitation links. Attackers can manipulate the Host header to poison invitation links and redirect users to attacker-controlled domains, bypassing the require_trusted_host protection which only covers password reset flows.

Affected Software

VendorProductVersion RangeStatus
getgravgrav0 < 3.9.2affected
getgravgrav3.9.2unaffected

Weaknesses

  • CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action

References