CVE-2026-56709
Received Received - Intake

Grav CMS Host Header Injection via sendInvitationEmail

Vulnerability report for CVE-2026-56709, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-25

Last updated on: 2026-08-25

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-25
Last Modified
2026-08-25
Generated
2026-08-25
AI Q&A
2026-08-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
grav grav to 3.9.2 (exc)
getgrav grav From 3.9.2 (exc)
getgrav grav 3.9.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-350 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.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Grav before version 3.9.2 has a vulnerability where the sendInvitationEmail() function does not properly validate untrusted Host headers. Attackers can manipulate this header to poison invitation links, redirecting users to malicious domains. The require_trusted_host protection only covers password reset flows, leaving invitation links vulnerable.

Detection Guidance

To detect this vulnerability, check if your Grav instance is running a version before 3.9.2. Use commands like 'bin/grav version' or check the version in the admin panel. Inspect email templates for the sendInvitationEmail() function to see if it lacks untrusted Host header validation. Monitor logs for missing warnings about untrusted hosts in invitation links.

Impact Analysis

Attackers could trick users into clicking malicious links via poisoned invitation emails, leading to phishing attacks or credential theft. Users might unknowingly visit attacker-controlled domains, risking data exposure or account compromise.

Compliance Impact

This vulnerability could lead to unauthorized data access or phishing attacks, violating GDPR's data protection principles or HIPAA's security requirements for safeguarding sensitive information. Non-compliance may result in legal penalties or reputational damage.

Mitigation Strategies

Immediately update Grav to version 3.9.2 or later. If updating is not possible, ensure the require_trusted_host setting is properly configured in the login plugin. Add the missing warnIfUntrustedHost('invitation') call to the sendInvitationEmail() function. Review and restrict Host header manipulation in reverse proxies or web servers.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-56709. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart