Skip to main content

Grav CMS CVE-2026-56709

| EUVDEUVD-2026-65207 HIGH
Reliance on Reverse DNS Resolution for a Security-Critical Action (CWE-350)
2026-08-25 VulnCheck GHSA-6c2c-797q-5r9x
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft HTTP request with forged Host header
  2. Delivery
    Submit to Grav invitation endpoint
  3. Exploit
    Grav sends email with attacker-domain link
  4. Execution
    Victim clicks poisoned invitation URL
  5. Persist
    Attacker captures one-time invitation token
  6. Impact
    Replay token to register attacker-controlled account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication DNS-independent verification
Exploitation Conditions

The user invitation feature must be in active use - the vulnerability is triggered at the moment an invitation email is dispatched from a request bearing a forged Host header. The CVSS 4.0 PR:N metric suggests the invitation endpoint may be reachable without authentication, but this has not been independently confirmed; if Grav requires at minimum editor or admin credentials to send invitations (typical CMS behavior), the attacker must hold those credentials or induce a legitimate privileged user to send an invitation from a request the attacker has manipulated. A victim must click the poisoned link for the token to be captured - passive receipt of the email is not sufficient. Deployments that have disabled the invitation workflow, or that enforce Host header validation at a reverse proxy layer, are not exploitable through this path.

Impact

The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N) scores at 8.7, reflecting network-accessible, low-complexity exploitation with high confidentiality impact. The PR:N (no privileges required) claim is the metric most in need of independent verification: in most CMS architectures, sending invitations requires at least low-privilege authenticated access, and if that is true of Grav, exploitability is meaningfully lower than the provided vector suggests. The UI:N metric similarly warrants scrutiny - practical exploitation requires a victim to click the poisoned link, introducing a real-world friction point not captured by that metric. No EPSS score was included in the available intelligence, no active exploitation is confirmed (not in CISA KEV), and no public POC has been identified at time of analysis. Taken together, the actual exploitation risk is somewhat lower than the raw CVSS score implies: this is a high-severity design gap that becomes a viable attack only when invitations are actively sent and victims act on the email.

Exploit ScenarioDerived

An attacker sends an HTTP POST request to Grav's invitation-sending endpoint with a spoofed Host header (e.g., Host: attacker.example.com), triggering an invitation email to a targeted user whose address is known or guessed. The victim receives a legitimate-looking email and clicks the invitation link, which navigates their browser to attacker.example.com with the genuine one-time token appended as a URL parameter. The attacker's server logs the token, which can then be replayed directly against the real Grav site to complete account registration under attacker control.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 25, 2026

Host header injection in Grav CMS before 3.9.2 allows attackers to poison outgoing invitation emails, replacing the legitimate site URL with an attacker-controlled domain in token-bearing links sent via the sendInvitationEmail() function. The vulnerability exploits a gap in Grav's existing Host header defenses: the require_trusted_host protection was applied only to password reset flows, leaving invitation emails without equivalent validation. When a poisoned invitation email is delivered and the recipient clicks the link, the one-time invitation token is transmitted to the attacker's server rather than the legitimate site. No public exploit has been identified at time of analysis, and the CVE is not listed in the CISA KEV catalog, though the reported CVSS 4.0 score of 8.7 reflects high confidentiality risk from token capture.

RemediationAI

Upgrade to Grav CMS 3.9.2 or later, which applies consistent Host header validation to the sendInvitationEmail() function in line with the existing require_trusted_host protection. The vendor advisory at https://github.com/getgrav/grav/security/advisories/GHSA-69vf-mjxw-x79j should be consulted for patch details. If immediate patching is not feasible, disable the user invitation feature entirely until the update can be applied - this eliminates the attack surface with no collateral effect on other Grav functionality. As an additional compensating control, configure a reverse proxy (e.g., nginx or Traefik) with a strict Host header allowlist so that any inbound request whose Host value does not match the canonical site domain is rejected before reaching Grav; note that this approach requires careful configuration to avoid breaking legitimate vhost setups and must be tested in staging before production deployment.

Affected VersionsENISA

grav 0 <3.9.2

Affected Packages

euvd grav fix: 3.9.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Grav is a flat-file PHP CMS (CPE: cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*) that supports a user invitation workflow for onboarding new accounts. The vulnerability arises because PHP web applications commonly construct absolute URLs in server-generated email content by reading the HTTP Host header from the incoming request - a value the client fully controls. Grav's sendInvitationEmail() function uses this unvalidated Host header to build the invitation link, so an attacker who controls the Host header value in the triggering request can substitute an arbitrary domain. The tagged CWE-350 references reliance on attacker-influenced resolution for a security-critical decision, mapping loosely here to the trust placed in the Host header without verification; a closer root-cause classification would be CWE-20 (Improper Input Validation). Notably, Grav does implement a require_trusted_host mechanism, confirming awareness of Host header risks, but the guard was not applied consistently across all email-generating code paths - a partial-fix antipattern that commonly leaves invitation and notification flows exposed.

Know when Grav gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.8 MEDIUM

Invitation sending typically requires low-privilege CMS access (PR:L); victim must click the link (UI:R); token capture crosses into victim's authorization scope (S:C).

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 25, 2026 - 03:16 EUVD
CVE Published
Aug 25, 2026 - 01:30 cve.org
HIGH 8.7

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Grav CMS versions before 3.9.2 contain a host header injection vulnerability in the sendInvitationEmail() function that allows attackers to redirect users to attacker-controlled domains and capture one-time authentication tokens (CVSS 8.7). Organizations using Grav's user invitation feature face direct risk of unauthorized account access and credential compromise. No vendor patch is currently available, creating urgent need for compensating controls.

Business Impact: High
Compensating Controls

If invitation emails are operationally critical: Deploy a Web Application Firewall with strict Host header validation to reject requests with non-trusted hosts; implement rate limiting on invitation link generation; require additional email confirmation before invitations are accepted; and establish monitoring for redirect anomalies. If invitation functionality can be suspended temporarily, use alternative verification methods (phone, SMS, or manual verification). Establish daily monitoring of Grav security advisories for patch availability (specifically version 3.9.2+), as these mitigations do not eliminate the underlying vulnerability.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Low
niche flat-file PHP CMS, limited enterprise deployment footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Grav

View all
CVE-2025-66294 HIGH POC
8.7 Dec 01

Server-side template injection (SSTI) in Grav (getgrav/grav) prior to 1.8.0-beta.27 allows an authenticated attacker hol

CVE-2025-66301 HIGH POC
8.6 Dec 01

Broken access control in Grav CMS (CWE-285) before 1.8.0-beta.27 lets an authenticated editor-level user escalate their

CVE-2025-50286 HIGH POC
8.1 Aug 06

A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plug

CVE-2024-34082 CRITICAL POC
9.9 May 15

Grav is a file-based Web platform. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low a

CVE-2021-47812 CRITICAL POC
9.8 Jan 16

GravCMS 1.10.7 allows unauthenticated remote attackers to write arbitrary YAML configuration files, leading to full serv

CVE-2026-65008 CRITICAL POC
9.3 Jul 21

Remote code execution in Grav CMS 2.0.4 (fixed in 2.0.7) lets an authenticated user holding the admin.pages or api.pages

CVE-2026-75827 CRITICAL POC
9.3 Aug 18

Remote code execution in Grav CMS before 2.0.15 allows attackers holding page-edit or blueprint-config privileges to wri

CVE-2026-75837 CRITICAL POC
9.3 Aug 18

Vertical privilege escalation in Grav CMS before 2.0.14 lets a delegated administrator holding only the admin.users perm

CVE-2026-75828 CRITICAL POC
9.3 Aug 18

Stored cross-site scripting in Grav CMS before 2.0.15 lets authenticated editors smuggle JavaScript event handlers past

CVE-2025-66844 CRITICAL POC
9.1 Dec 15

Server-side request forgery (SSRF) in Grav CMS versions prior to 1.7.49.5 allows remote authenticated attackers to make

CVE-2025-66299 HIGH POC
8.8 Dec 01

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, Grav CMS is vulnerable to a Server-Side Template Injection (S

CVE-2026-72819 HIGH POC
8.7 Aug 14

Remote code execution in Grav CMS before 2.0.13 allows authenticated low-privilege users to plant and execute arbitrary

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy