7.5 CVE-2026-56709

Enriched by CISA
 

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.
https://nvd.nist.gov/vuln/detail/CVE-2026-56709

Categories

CWE-350 : Reliance on Reverse DNS Resolution for a Security-Critical Action
The product performs reverse DNS resolution on an IP address to obtain the hostname and make a security decision, but it does not properly ensure that the IP address is truly associated with the hostname. Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.) Use other means of identity verification that cannot be simply spoofed. Possibilities include a username/password or certificate. Perform proper forward and reverse DNS lookups to detect DNS spoofing. Does not do double-reverse lookup to prevent DNS spoofing. Does not verify reverse-resolved hostnames in DNS. Authentication bypass using spoofed reverse-resolved DNS hostnames. Authentication bypass using spoofed reverse-resolved DNS hostnames. Filter does not properly check the result of a reverse DNS lookup, which could allow remote attackers to bypass intended access restrictions via DNS spoofing. Reverse DNS lookup used to spoof trusted content in intermediary. Product records the reverse DNS name of a visitor in the logs, allowing spoofing and resultant XSS.

References


 

AFFECTED (from MITRE)


Vendor Product Versions
getgrav grav
  • < 3.9.2 [affected]
  • 3.9.2 [unaffected]
© 2022 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.

CPE

cpe start end
Configuration 1
cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* < 3.9.2


REMEDIATION




EXPLOITS


Exploit-db.com

id description date
No known exploits

POC Github

Url
No known exploits

Other Nist (github, ...)

Url
No known exploits


CAPEC


Common Attack Pattern Enumerations and Classifications

id description severity
142 DNS Cache Poisoning
High
275 DNS Rebinding
Very High
73 User-Controlled Filename
High
89 Pharming
Very High


MITRE


Techniques

id description
T1584.002 Compromise Infrastructure: DNS Server
© 2022 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.

Mitigations

id description
M1056 This technique cannot be easily mitigated with preventive controls since it is based on behaviors performed outside of the scope of enterprise defenses and controls.
© 2022 The MITRE Corporation. Esta obra se reproduce y distribuye con el permiso de The MITRE Corporation.