Skip to main content

Grav CMS CVE-2026-72701

| EUVDEUVD-2026-65215 MEDIUM
Observable Timing Discrepancy (CWE-208)
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Identify Grav CMS admin endpoint
  2. Delivery
    Send high-volume timed nonce probe requests
  3. Exploit
    Measure per-byte response latency differences
  4. Execution
    Recover valid CSRF nonce byte-by-byte
  5. Persist
    Submit forged request with recovered nonce
  6. Impact
    Execute unauthorized state-changing admin action

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication Timing attack prevention
Exploitation Conditions

The attacker must be able to send a large volume of HTTP requests directly to the Grav CMS nonce validation endpoint and measure response timing with sub-millisecond precision - feasible from low-latency network positions such as co-located infrastructure or LAN, but difficult over high-jitter internet paths. No authentication is required for the attacker to probe the nonce oracle. No special non-default Grav configuration is required; the flaw exists in the default CSRF validation path used whenever nonce-protected forms are processed. Exploitation is limited by the need for statistical noise reduction across many requests, the availability of a network path with stable, low latency, and the fact that forged requests only produce meaningful impact if a legitimate admin session is active at the time the forged action is submitted.

Impact

The CVSS 4.0 score of 6.3 with AV:N/AC:H/AT:P/PR:N/UI:N accurately reflects a network-reachable but technically demanding attack. AC:H and AT:P capture the core constraint: timing attacks require a high volume of requests and sub-millisecond measurement precision, which network jitter in internet-facing deployments can mask. Integrity impact is low (VI:L), bounded to bypassing CSRF protection without code execution or data exfiltration. No CISA KEV listing and no known public exploit code reduce operational urgency. EPSS data was not provided, so exploitation probability must be inferred as low-to-moderate given the attack complexity. Real-world risk is highest for Grav installations reachable from low-latency attacker positions (co-located cloud infrastructure, same datacenter) and lowest for sites behind high-latency internet paths. The fix is low-risk and trivial to apply, making deferral hard to justify.

Exploit ScenarioDerived

An attacker with low-latency network access to the Grav admin endpoint sends thousands of HTTP POST requests with systematically varied CSRF nonce guesses, measuring response latency for each candidate at every byte position. Using statistical comparison to identify which guesses produce marginally longer response times, the attacker reconstructs a valid nonce byte-by-byte and then submits a forged state-changing request - such as creating an admin account or modifying site content - that the server accepts as CSRF-validated. No public proof-of-concept code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 25, 2026

Timing side-channel in Grav CMS before 2.0.16 allows remote attackers to weaken CSRF protection by recovering valid nonce values through statistical analysis of server response latency. The Utils::verifyNonce() function uses PHP's non-constant-time === operator instead of hash_equals(), enabling byte-by-byte nonce reconstruction via repeated probing requests. No public exploit is identified at time of analysis, but the CWE-208 vulnerability class is well-documented in security literature and the technique is reproducible with standard tooling.

RemediationAI

Upgrade Grav CMS to version 2.0.16 or later, which replaces the non-constant-time === comparison with hash_equals() in Utils::verifyNonce(). The vendor advisory is at https://github.com/getgrav/grav/security/advisories/GHSA-38p6-h87p-r4cg. For installations that cannot be upgraded immediately, place the admin interface behind a network access control such as a VPN, IP allowlist, or reverse proxy with authentication - this prevents untrusted attackers from issuing the high-volume timed requests required for nonce recovery, though it does not eliminate the underlying flaw. Rate-limiting the admin endpoint also raises the bar for timing attacks by introducing artificial latency variance, with the trade-off of added latency for legitimate administrators.

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 CMS (CPE: cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*) is a PHP flat-file CMS. The affected code path is Utils::verifyNonce(), which validates CSRF nonces protecting state-changing actions. PHP's === string comparison operator short-circuits at the first mismatched byte, creating a timing discrepancy proportional to the length of the correct prefix. CWE-208 (Observable Timing Discrepancy) describes this root cause class precisely: an attacker systematically varies nonce guesses and uses statistical timing analysis to identify which candidates share progressively longer matching prefixes with the stored nonce, ultimately reconstructing the full value. PHP provides hash_equals() specifically for constant-time comparison of security tokens, making the fix a targeted one-line change.

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 6.3 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.7 LOW

Network vector with high complexity (statistical timing attack requiring many requests and low-latency access); no authentication needed to probe; integrity impact limited to CSRF bypass with no confidentiality or availability consequence.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

1
Patch available
Aug 25, 2026 - 03:16 EUVD

DescriptionCVE.org

Grav CMS before 2.0.16 contains a timing vulnerability in Utils::verifyNonce() that uses non-constant-time string comparison with the === operator instead of hash_equals() for CSRF nonce validation. Attackers can measure response timing differences to recover valid nonce values byte-by-byte through multiple requests, weakening CSRF protection below its intended security margin.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
popular flat-file PHP CMS with active developer community adoption
Threat Intel
1
1 source
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

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