Skip to main content

Grav CMS EUVDEUVD-2026-104586

| CVE-2026-112780 CRITICAL
Exposed Dangerous Method or Function (CWE-749)
2026-10-19 VulnCheck GHSA-qq7h-r236-6vc5
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as page editor
  2. Delivery
    Rename Flex form field with replace-name@
  3. Exploit
    Bypass callable allowlist via data-*@ directive
  4. Execution
    Invoke Folder::delete / Utils::download
  5. Impact
    Delete 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 – 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

grav 2.0.15 <2.2.2

Affected Packages

euvd grav fix: 2.2.2

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

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/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
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 19, 2026 - 21:17 EUVD
CVE Published
Oct 19, 2026 - 19:10 cve.org
CRITICAL 9.3

DescriptionCVE.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.

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
niche open-source flat-file CMS, modest real-world footprint
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Yes
Human Impact
High

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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