Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to Grav admin panel
-
DeliveryCraft POST Save As request with traversal in lang field
-
ExploitGrav constructs path outside pages directory
-
InstallWrite attacker-controlled .md file to target directory
-
C2Traverse to template or plugin path to stage payload
-
ExecuteTrigger Grav template render
-
ImpactAchieve secondary code execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Exploitation requires an authenticated Grav admin session with the admin.pages.create permission explicitly granted. The vulnerable endpoint is the admin plugin's Save As action, reachable only through the Grav admin panel after login. The attacker must control the lang POST field in a Save As request; writes are constrained to files with a .md extension, limiting (but not eliminating) direct code execution depending on whether traversal-reachable directories contain PHP-parsed files. No special network conditions beyond HTTP/HTTPS access to the Grav admin interface are required. Non-admin users or admin users lacking the pages.create permission cannot trigger the vulnerability. |
| Impact | The CVSS 4.0 base score of 7.1 reflects a network-exploitable path (AV:N), low attack complexity (AC:L), and low-privilege requirement (PR:L). However, the provided CVSS 4.0 impact metrics (VC:H/VI:N) appear to invert the actual impact: the described vulnerability is a write primitive (integrity impact, VI:H), not a read/confidentiality disclosure - this discrepancy should be verified against the vendor advisory before using the vector for risk calculations. No EPSS score, CISA KEV listing, or public exploit code was provided; no public exploit has been identified at time of analysis. Real-world risk is moderate: the attack surface is restricted to admin users with a specific page-creation permission, which limits opportunistic exploitation. The primary danger is insider abuse or post-compromise persistence, where an attacker with stolen or maliciously granted admin credentials plants content that survives remediation. |
| Exploit ScenarioDerived | An attacker holding a Grav admin account with admin.pages.create permission (or who has phished or stolen such credentials) sends a crafted POST request to the admin plugin's Save As endpoint with the lang field set to a traversal string such as '../../themes/quark'. Grav constructs the target path without sanitization and writes attacker-controlled Markdown content to the themes directory. If the traversal destination is later parsed by Grav's template engine in a way that executes embedded logic, the attacker achieves code execution on the next page render. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 04, 2026
Path traversal in Grav CMS before 1.10.55 allows an authenticated admin user with the admin.pages.create permission to write arbitrary Markdown files outside the intended pages directory by embedding traversal sequences in the lang POST parameter of the admin plugin's Save As action. The vulnerability gives an attacker-controlled write primitive constrained to .md file extensions, which - depending on Grav's template and plugin layout - may be chained to persistent backdoor placement or secondary code execution. No public exploit has been identified at time of analysis, and exploitation is bounded by requiring a valid authenticated admin session.
RemediationAI
Upgrade Grav CMS to version 1.10.55 or later, which contains the vendor's fix for the lang parameter path traversal in the admin plugin. The upgrade path and details are documented in the GitHub security advisory at https://github.com/getgrav/grav/security/advisories/GHSA-h9g9-73c3-23c9. If immediate upgrade is not feasible, restrict the admin.pages.create permission to the minimum number of fully trusted administrators, eliminating the exploitable user class. As an additional compensating control, configure OS-level filesystem permissions so the web server process user lacks write access to directories outside the pages tree (e.g., themes/, plugins/, config/); note this may require testing against Grav's legitimate admin workflows to avoid breaking page management. A web application firewall rule blocking POST requests where the lang parameter contains dot-dot sequences (../) can provide shallow defense-in-depth but is not a substitute for patching.
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 is a flat-file PHP CMS that stores all content as Markdown (.md) files on disk, with no database backend. The admin plugin's 'Save As' feature constructs a filesystem path from user-supplied inputs including a lang (language code) POST parameter to differentiate translated page copies. Because the lang value is passed into path construction without sanitization, an attacker can supply sequences such as '../../../' to escape the pages directory tree, which falls under CWE-73 (External Control of File Name or Path). The affected CPE is cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*, covering all releases prior to 1.10.55. Since Grav stores themes, plugins, and configuration as files in directories adjacent to pages, a traversal primitive that writes attacker-controlled content can potentially corrupt non-content application components.
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:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Authenticated admin (PR:L) exploits write-only path traversal; no confidentiality or availability impact applies to the described behavior.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Grav versions before 1.10.55 contain a path traversal vulnerability in the admin plugin's Save As action that fails to validate the language code parameter. An authenticated admin user with admin.pages.create permission can supply directory traversal sequences in the lang POST field to write arbitrary .md files outside the pages directory with attacker-controlled content.
Technical POC Analysis
CWE-73 - external control of file name or path - in the Grav admin plugin's Save As task.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Grav CMS instances before version 1.10.55 contain a path-traversal flaw allowing authenticated administrators with limited page-creation rights to escape filesystem restrictions and deploy persistent backdoors, potentially enabling undetected site compromise. Organizations should prioritize identifying affected instances, restricting administrator privileges, and implementing monitoring to defend against insider threats and compromised admin accounts.
Restrict admin.pages.create permission to the smallest possible user set and require secondary approval for high-risk actions; implement file-integrity monitoring (FIM) on Markdown file directories to alert on unauthorized creations; require multi-factor authentication for all administrative accounts; enable comprehensive logging and alerting for admin panel access and save-as operations; isolate the admin panel behind network access controls (VPN/IP allowlist); consider Web Application Firewall (WAF) rules to detect anomalous POST parameters to the admin plugin.
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-71026
GHSA-67xf-jwpx-5m9q
NVD
CVE.org
EPSS
Exploit-DB