Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as Grav profile editor
-
DeliveryNavigate to backup profile configuration
-
ExploitSet profile root path to traversal string (e.g., ../../opt/secrets)
-
ExecutionTrigger backup job execution
-
PersistDownload generated archive
-
ImpactExtract 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Network-accessible admin interface requires high-privilege profile editor account; impact is confidentiality-only via directory traversal read, no integrity or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Server-side template injection (SSTI) in Grav (getgrav/grav) prior to 1.8.0-beta.27 allows an authenticated attacker hol
Broken access control in Grav CMS (CWE-285) before 1.8.0-beta.27 lets an authenticated editor-level user escalate their
A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plug
Grav is a file-based Web platform. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low a
GravCMS 1.10.7 allows unauthenticated remote attackers to write arbitrary YAML configuration files, leading to full serv
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
Remote code execution in Grav CMS before 2.0.15 allows attackers holding page-edit or blueprint-config privileges to wri
Vertical privilege escalation in Grav CMS before 2.0.14 lets a delegated administrator holding only the admin.users perm
Stored cross-site scripting in Grav CMS before 2.0.15 lets authenticated editors smuggle JavaScript event handlers past
Server-side request forgery (SSRF) in Grav CMS versions prior to 1.7.49.5 allows remote authenticated attackers to make
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
Remote code execution in Grav CMS before 2.0.13 allows authenticated low-privilege users to plant and execute arbitrary
EUVD-2026-58634
GHSA-qf4h-jxxc-wvr9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB