Skip to main content

Grav CMS EUVDEUVD-2026-58634

| CVE-2026-72820 MEDIUM
Path Traversal (CWE-22)
2026-08-14 VulnCheck GHSA-qf4h-jxxc-wvr9
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as Grav profile editor
  2. Delivery
    Navigate to backup profile configuration
  3. Exploit
    Set profile root path to traversal string (e.g., ../../opt/secrets)
  4. Execution
    Trigger backup job execution
  5. Persist
    Download generated archive
  6. Impact
    Extract and read sensitive files from outside GRAV_ROOT

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated Grav CMS account with 'profile editor' access - a high-privilege administrative role (PR:H in the provided CVSS 4.0 vector). The attacker must be able to create or modify backup profiles and trigger backup execution through the Grav admin interface. The web server process must have OS-level read permissions on the traversal target directory (e.g., /opt, /mnt, /srv) for sensitive files to be included in the archive. Grav's backup functionality must be enabled, which is typical in standard deployments. No non-default configuration is required beyond the attacker holding the profile editor role. Exploitation is limited by: the need for a high-privilege authenticated session, and the web server process's filesystem permissions determining which directories outside GRAV_ROOT are actually reachable.

Impact

The CVSS 4.0 score of 6.9 accurately reflects the primary constraint: exploitation requires PR:H (high privileges), meaning the attacker must already hold a Grav profile editor account. This substantially limits the realistic attack surface compared to unauthenticated flaws. The confidentiality impact is genuinely high (VC:H) - a successful traversal can expose credentials, configuration files, or application secrets from any directory readable by the web server process. No EPSS data was provided; KEV status is not confirmed; and no POC code has been identified, all of which suggest this has not seen broad opportunistic exploitation. The absence of integrity or availability impact (VI:N/VA:N) means this is a data-exposure risk rather than a full system-compromise vector. Real-world risk is elevated for deployments where the profile editor role is granted to multiple administrators or where compromised accounts are a realistic threat model; organizations with strict role separation and single-administrator Grav instances face lower residual risk.

Exploit ScenarioDerived

An attacker who holds or has compromised a Grav account with profile editor privileges logs into the admin panel, navigates to the backup profile configuration, and sets the profile root path to a traversal string such as '../../opt/app-secrets'. After triggering a backup job, the attacker downloads the resulting archive and extracts files containing API keys, database credentials, or other sensitive data from outside GRAV_ROOT. No public proof-of-concept code has been identified at time of analysis, but the technique requires no specialized tooling beyond standard Grav admin access.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 14, 2026

Path traversal in Grav CMS backup profile validation exposes arbitrary server files to authenticated users with profile editor privileges. All Grav versions before 2.0.13 fail to canonicalize or allowlist backup profile root paths, relying instead on an insufficient hard-coded deny-list, allowing traversal sequences such as '../../opt' to be accepted. An attacker holding a profile editor account can configure a malicious backup profile, trigger a backup job, and download an archive containing sensitive files from directories like /opt, /mnt, or /srv that reside entirely outside GRAV_ROOT. No public exploit has been identified at time of analysis, and the vulnerability is not listed in CISA KEV.

RemediationAI

Upgrade Grav CMS to version 2.0.13 or later, which replaces the deny-list approach with proper path canonicalization and allowlist validation for backup profile root paths. The upstream patch is available at https://github.com/getgrav/grav/commit/ad9709f865b09b68798fb1ac375b484a8cc1d892 and the full security advisory is at https://github.com/getgrav/grav/security/advisories/GHSA-fch7-cpv4-w7hg. As a compensating control prior to patching, restrict the profile editor role to the absolute minimum number of fully trusted administrators and audit existing backup profile configurations for traversal paths (any root path containing '..' or starting outside GRAV_ROOT should be treated as suspicious). Note that restricting role assignment does not eliminate the vulnerability if a profile editor account is compromised; patching is the only definitive fix.

Affected VersionsENISA

grav 2.0.11 <2.0.13

Affected Packages

euvd grav fix: 2.0.13

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 CMS is a file-based, flat-file PHP content management system (CPE: cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*). Its backup subsystem allows privileged users to define profiles that specify a root directory to archive. The flaw (CWE-22: Improper Limitation of a Pathname to a Restricted Directory) stems from path validation relying solely on a hard-coded deny-list rather than canonicalizing the supplied path and verifying it falls within GRAV_ROOT. A traversal sequence (e.g., '../../etc' or '../../opt/secrets') bypasses the deny-list check entirely. The web server process's OS-level read permissions determine which traversal targets are reachable. The fix is available in upstream commit ad9709f865b09b68798fb1ac375b484a8cc1d892 and documented in GitHub Security Advisory GHSA-fch7-cpv4-w7hg.

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

Network-accessible admin interface requires high-privilege profile editor account; impact is confidentiality-only via directory traversal read, no integrity or availability effect.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/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
High
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

DescriptionCVE.org

Grav versions before 2.0.13 fail to properly validate backup profile root paths, allowing attackers to archive directories outside GRAV_ROOT when not in the hard-coded deny-list. Attackers with profile editor access can configure backup profiles with traversal paths to expose sensitive files from locations like /opt, /mnt, or /srv.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Medium
popular open-source flat-file PHP CMS with active user community
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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