Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as page editor
-
DeliveryRename Flex form field with replace-name@
-
ExploitBypass callable allowlist via data-*@ directive
-
ExecutionInvoke Folder::delete / Utils::download
-
ImpactDelete directories, overwrite or read files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Dangerous method exposure prevention
|
| Exploitation Conditions | Requires an authenticated Grav account holding page-edit permission (per the description), so it is NOT exploitable by fully anonymous users despite the vendor vector's PR:N. The attacker must be able to edit a Flex form and rename a field using the 'replace-name@' syntax, which smuggles a 'data-*@' directive past the callable allowlist check to reach Folder::delete, Folder::move, or Utils::download. Limiting factors: affected only in Grav versions 2.0.15 up to (not including) 2.2.2; exploitation is gated by the editor privilege, so single-administrator or fully-trusted-editor deployments face little added risk, while multi-tenant or delegated-editing installations are materially exposed. |
| Impact | This is a genuinely high-severity issue but with an important caveat that tempers the raw 9.3 score. The input CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N) models the attack as network-reachable, low-complexity, and requiring NO privileges - yet the description explicitly states exploitation requires an attacker 'with page-edit permission.' These two signals directly conflict: PR:N implies anonymous exploitation, while the description describes an authenticated page editor abusing their existing access. The realistic reading is a privilege-escalation / allowlist-bypass flaw (CWE-749, exposed dangerous method) in which a semi-trusted editor escalates to arbitrary file deletion, overwrite, and read via Folder::delete, Folder::move, and Utils::download - not a pre-auth remote compromise. No EPSS score was supplied, the CVE is NOT on CISA KEV, and no public POC is referenced, so there is no evidence of active or at-scale exploitation. Net priority: treat as high for any Grav instance that grants page-edit rights to untrusted or multi-tenant users, but it is materially lower risk than the 9.3 suggests for single-admin deployments, because the attacker must already hold editor privileges. The PR:N in the vendor vector should be verified with the vendor/NVD before using it to drive automated prioritization. |
| Exploit ScenarioDerived | An attacker who holds (or phishes/obtains) a Grav account with page-edit permission opens a Flex form, renames a form field using the 'replace-name@' syntax, and smuggles a 'data-*@' directive past the callable allowlist check. This causes Grav to invoke a dangerous public static method such as Folder::delete, letting the editor delete site directories, overwrite arbitrary files, or read sensitive files via Utils::download. No public exploit code is identified at time of analysis, so exploitation currently requires independent development of the payload. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
Grav CMS 2.0.15 through 2.1.x (before 2.2.2) allows authenticated users with page-edit permission to bypass the Flex form callable allowlist and invoke arbitrary public static methods such as Folder::delete, Folder::move, and Utils::download. By renaming a Flex form field using the replace-name@ syntax, an editor can smuggle data-*@ directives past validation, enabling directory deletion, file overwrite, and arbitrary file reads. No public exploit code has been identified at time of analysis, and exploitation requires an authenticated editor account rather than anonymous access.
RemediationAI
Vendor-released patch: upgrade to Grav 2.2.2 or later, as documented in advisory GHSA-9rq7-4cch-f22j. If an immediate upgrade is not possible, restrict page-edit and Flex form editing privileges to fully trusted administrators, since the vulnerability requires an authenticated editor account. Audit existing Flex forms for field names containing replace-name@ or data-*@ directives and remove any unexpected entries. Consider tightening filesystem permissions on Grav's user data, pages, and backup directories to reduce the impact of Folder::delete, Folder::move, and Utils::download, though this is only a compensating control and does not fix the allowlist bypass.
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 content management system, and Flex is its object-oriented data and configuration layer used for forms and persisted records. The issue maps to CWE-749 (Exposed Dangerous Method or Function): a callable allowlist intended to restrict which methods Flex forms may invoke fails to account for the replace-name@ field-renaming feature. An attacker who can edit a Flex form can rename a field so that a data-*@ directive is passed through the allowlist check and reaches dynamic static-method invocation. This exposes dangerous methods including Folder::delete, Folder::move, and Utils::download, which respectively permit directory deletion, file moves/overwrites, and file reads under the web server's privileges. The affected package is tracked as cpe:2.3:a:getgrav:grav, with vulnerable versions beginning at 2.0.15 and fixed in 2.2.2.
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:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Page-edit permission is required so PR:L (not PR:N); network-reachable admin with low complexity, and arbitrary file read/overwrite/delete yields C:H/I:H/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Grav from 2.0.15 before 2.2.2 contains an allowlist bypass vulnerability that allows page editors to call arbitrary public static methods by renaming Flex form fields with replace-name@. Attackers with page-edit permission can smuggle data-*@ directives past the callable check to invoke Folder::delete, Folder::move, or Utils::download, deleting directories, overwriting files, or reading files.
Articles & Coverage 2
Technical POC Analysis
CWE-749: Exposed Dangerous Method or Function.
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 deployments running 2.0.15 through 2.1.x before 2.2.2 expose users with page-edit rights to file and directory manipulation through Flex form handling, creating risk of site disruption and sensitive file exposure. No public exploit identified at time of analysis, but the issue is critical and no vendor-released patch identified at time of analysis. Leadership should prioritize inventorying affected Grav instances and tightly restricting editorial permissions while mitigations are implemented.
Restrict page-edit and Flex form permissions to trusted users, disable or remove unused Flex forms and public static callable method exposure, block replace-name@ and data-*@ patterns at the WAF or reverse proxy, monitor file integrity and audit logs, and apply the vendor patch when released.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-104586
GHSA-qq7h-r236-6vc5
NVD
CVE.org
EPSS
Exploit-DB