Skip to main content

Grav CMS EUVDEUVD-2026-65216

| CVE-2026-72702 CRITICAL
Origin Validation Error (CWE-346)
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Register look-alike domain matching origin prefix
  2. Delivery
    Craft request with forged Referer header
  3. Exploit
    Bypass unanchored prefix origin check
  4. Execution
    Invoke Referer-protected action
  5. Impact
    Unauthorized state change

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Exploitation Conditions

Exploitation requires that the target route relies on the vulnerable Referer-based origin validation in Uri::referrer() or Pages::referrerRoute(), and that the attacker can present a Referer value beginning with the victim site's base origin - achievable either by directly setting the Referer header in a scripted request or by controlling a domain that starts with the victim origin (e.g. https://example.com.attacker.tld). The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates no authentication and no user interaction are required for the origin bypass itself. Limiting factors: the practical impact depends entirely on what functionality the Referer check gates (the bypass is a stepping stone, not direct code execution), and it only affects Grav versions before 2.0.16.

Impact

The supplied CVSS 4.0 vector (9.3, AV:N/AC:L/PR:N/UI:N with VC:H/VI:H/VA:H) rates this Critical, treating it as a fully unauthenticated network attack with high confidentiality, integrity and availability impact. That impact rating deserves scrutiny: the vulnerability itself is only an origin-check bypass - its real severity is bounded by what the Referer check was gating (typically CSRF-style state-changing actions), so full CIA:H is arguably aggressive unless the bypass reaches admin/state-changing functionality. There is no EPSS score, no POC, and no KEV listing provided, so the exploitation-probability signals are absent rather than reassuring; the SSVC exploitation status is best read as 'none/POC-unproven.' On balance this is a legitimate high-priority hardening fix - the bypass is low-complexity and needs no authentication - but the 9.3 headline likely overstates the standalone technical impact; teams should confirm which endpoints the Referer check protects before treating it as equivalent to unauthenticated RCE. Any organization running internet-facing Grav should still patch promptly given the trivial exploitation mechanics.

Exploit ScenarioDerived

An attacker registers a look-alike domain whose name begins with the victim's origin string, such as https://victim.example.com.attacker.tld, then issues a crafted request to the Grav site with that value in the Referer header (settable directly via a script or curl). The origin check's unanchored prefix match accepts the forged Referer as same-origin, allowing the attacker to invoke actions the Referer check was meant to protect. No public exploit code is currently identified, but the technique is straightforward.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 25, 2026

Origin validation bypass in Grav CMS before 2.0.16 lets remote attackers defeat the Referer-based same-origin check used by the Uri::referrer() and Pages::referrerRoute() methods. Because the check uses an unanchored str_starts_with() prefix match without a trailing delimiter, a request bearing a Referer from an attacker-controlled look-alike domain (e.g. https://example.com.attacker.tld) is accepted as same-origin, undermining CSRF/origin protections on protected routes. No public exploit identified at time of analysis, and the flaw is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade Grav CMS to 2.0.16 or later, which anchors the origin comparison correctly. Follow the vendor advisory GHSA-9ccq-2jfg-qw33 (https://github.com/getgrav/grav/security/advisories/GHSA-9ccq-2jfg-qw33) for exact upgrade guidance. If immediate upgrade is not possible, compensating controls include enforcing a proper same-origin/CSRF token check at a reverse proxy or WAF (validate that the Referer host exactly equals the site host with a boundary, not a prefix, or require and verify an anti-CSRF token) and restricting access to state-changing admin routes to trusted networks or VPN - noting the trade-off that Referer-based filtering can break legitimate cross-linking and proxy-stripped Referers may cause false positives. Do not rely on the built-in Referer check on unpatched versions, as it is the vulnerable component.

Affected VersionsENISA

grav 0 <2.0.16

Affected Packages

composer getgrav/grav fix: 2.0.16
euvd grav fix: 2.0.16

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

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

Technical ContextAI · show details

Grav is an open-source, flat-file (database-less) PHP CMS. The defect is a classic CWE-346 Origin Validation Error in its request-origin logic: Uri::referrer() and Pages::referrerRoute() compare the incoming Referer header against the site base using str_starts_with($referrer, $base) with no trailing '/' or delimiter anchor. Prefix matching without a boundary means any origin string that merely begins with the trusted base - including a subdomain-style suffix on a different registrable domain such as 'https://example.com.attacker.tld' - satisfies the check. The affected component per CPE is cpe:2.3:a:getgrav:grav:*, i.e. the core Grav package rather than a plugin. Referer is trivially attacker-settable in direct (non-browser) requests, so the check offers no cryptographic or unforgeable assurance of origin.

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 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.2 HIGH

Referer is attacker-forgeable in direct requests so PR:N/UI:N/AC:L; impact is primarily integrity via bypassed origin/CSRF gating (I:H), with limited confidentiality and no availability effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:N/C:L/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/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
High
Vulnerable system: Availability
High
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
CRITICAL 9.3

DescriptionCVE.org

Grav CMS before 2.0.16 contains an origin validation bypass in the Uri::referrer() and Pages::referrerRoute() methods, which validate the Referer header using an unanchored string prefix match (str_starts_with($referrer, $base)) with no trailing delimiter. An attacker who controls a domain that begins with the victim site's origin (e.g. https://example.com.attacker.tld) can send a request with such a Referer to be treated as same-origin, bypassing the Referer-based origin check.

Executive ViewAI

Why It Matters

Grav CMS versions before 2.0.16 contain a critical origin validation bypass allowing remote attackers to forge requests from attacker-controlled look-alike domains (no public exploit identified at time of analysis). Organizations face unauthorized state-changing operations including content manipulation and configuration changes. This vulnerability requires immediate patching to prevent account takeover and data integrity compromise.

Business Impact: Severe
Compensating Controls

Apply vendor patch: Grav CMS 2.0.16 or later. If immediate patching is not feasible, implement Web Application Firewall rules enforcing strict Referer header validation with exact domain matching and trailing delimiters, and deploy same-site cookie restrictions to limit CSRF attack surface.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Low
open-source flat-file CMS with modest, developer-oriented adoption; niche versus WordPress
Threat Intel
1
1 source
Social Media
4
Sightings
Data Quality
5 sources
Confidence: Medium

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
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