Skip to main content

Grav CMS CVE-2026-116019

| EUVDEUVD-2026-109277 HIGH
Exposed Dangerous Method or Function (CWE-749)
2026-10-24 VulnCheck GHSA-8xfc-f7mm-8g34
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with page-edit permission
  2. Delivery
    Embed crafted data-*@ directive in page frontmatter
  3. Exploit
    Bypass allowlist via unset-name@ or renumbered integer key
  4. Execution
    Form build invokes arbitrary static method (Folder::delete / Utils::download)
  5. Impact
    Delete directories or read/overwrite files outside page tree

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 account holding page-edit permission (api.pages.write, or admin.pages in the classic admin) and the ability to supply Flex form override fields in page frontmatter, which is the reachable FlexForm / FlexDirectoryForm path. The malicious directive executes only when the page's Flex form is built (for example when the page is opened in admin). Exploitation is further bounded to Grav 2.0.15 through 2.2.12 (1.7 is not affected; 2.0.15 introduced the trusted-blueprint behavior), and is fixed in 2.2.13. It is NOT reachable by fully unauthenticated users, and installations that only applied the 2.2.2 partial fix remain exploitable via the unset-name@ and integer-key routes.

Impact

This is a genuine but conditionally-gated issue rather than a drop-everything emergency. The CVSS 4.0 base score is 8.7 (High) with AV:N/AC:L/PR:L/UI:N and full VC:H/VI:H/VA:H impact, reflecting network-reachable, low-complexity abuse with substantial confidentiality, integrity and availability consequences. The decisive limiting signal is PR:L: exploitation requires an authenticated account that already holds page-edit permission (api.pages.write, or admin.pages in classic admin), so this is privilege escalation / authorization bypass for a semi-trusted editor, not unauthenticated RCE. Not listed in CISA KEV and no public exploit identified at time of analysis - the only exploitation signals are the vendor/VulnCheck advisory and the published fix with regression tests. EPSS is NOT provided in the input, so exploitation probability cannot be quantified here - state that gap rather than assume. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a high-impact flaw whose exploitation is gated behind existing editor privileges. One nuance worth flagging: this is the second incomplete-fix iteration (GHSA-9rq7-4cch-f22j fixed in 2.2.2 closed only the replace-name@ spelling), so environments that applied 2.2.2 believing themselves safe remain exposed through unset-name@ and integer-key routes until 2.2.13.

Exploit ScenarioDerived

An account with page-edit permission creates or edits a page and embeds a crafted Flex form override in the frontmatter, smuggling a data-*@ directive past Grav's Class::method allowlist by relocating it with unset-name@ (or @unset-name@ / unset-name@2) or by giving the override field an integer key that array_merge renumbers. When the page's Flex form is built, the directive invokes a privileged static method such as Folder::delete or Utils::download, deleting directories, overwriting files, or reading files outside the page tree. No public exploit is identified at time of analysis, though the technique and proof-style regression tests are published in the GHSA advisory and patch commit.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – Oct 24, 2026

An allowlist bypass in Grav CMS 2.0.15 through 2.2.12 lets an authenticated account holding page-edit permission (api.pages.write, or admin.pages in the classic admin) invoke arbitrary public static PHP methods by smuggling a data-*@ directive past Grav's Class::method allowed-callable check inside a page-authored Flex form override; methods such as Folder::delete, Folder::move, Folder::copy or Utils::download can then delete directories, move or overwrite files, and read files outside the page tree. The crafted directive fires when the page's Flex form is built, for example when an administrator opens the page on the site, so the payload is planted by the lower-privileged editor and executed in an administrator's request. The vendor shipped a complete fix in 2.2.13; the earlier 2.2.2 patch (GHSA-9rq7-4cch-f22j) only closed the replace-name@ spelling and leaves installations exploitable, and no public exploit code was identified at time of analysis.

RemediationAI

Upgrade to Grav 2.2.13, the vendor-released patch version, covering the whole composer/getgrav/grav range >= 2.0.15 and < 2.2.13; the fix is contained in commit 4d9e3935f6b79cc1a157914554ccca6066a16f87 and documented in advisory GHSA-47gg-mh38-9rr7 (https://github.com/getgrav/grav/security/advisories/GHSA-47gg-mh38-9rr7), with the patched release at https://github.com/getgrav/grav/releases/tag/2.2.13. Applying only the earlier 2.2.2 fix for GHSA-9rq7-4cch-f22j is insufficient: both the unset-name@ spellings (@unset-name@, unset-name@2) and integer-keyed override fields remain exploitable against those builds. For sites that cannot move to 2.2.13 immediately, the practical exposure reduction is to withdraw page-edit capability (api.pages.write, or admin.pages in the classic admin) from any account that does not strictly need it, since holding that permission is a stated prerequisite; this narrows who can plant a malicious override but does not remove the flaw, and the crafted directive still executes when the affected page's Flex form is built, including when an administrator opens that page. Where page editing must remain delegated, operators should also review pages for frontmatter Flex form overrides containing unset-name@, replace-name@, @unset-name@, unset-name@2 or bare integer field keys carrying data-*@ directives, as those are the concrete malformed structures described in the advisory.

Affected VersionsENISA

grav 2.0.15 <2.2.13

Affected Packages

euvd grav fix: 2.2.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 builds page forms by merging a trusted, file-defined blueprint with a form supplied in page frontmatter. Since 2.0.15, directives coming from file blueprints are trusted and skip the allowed-callable check, while directives from page-authored forms are held to a Class::method allowlist. Blueprint::extend() decides which incoming fields are untrusted by walking the incoming array as written (dynamicPathsOf(), which probes with deepInit() and therefore never sees relocation actions), then merges it into the trusted blueprint via rockettheme/toolbox BlueprintForm::deepMerge(). Any directive the merge places at a different path is never marked untrusted, so Blueprint::init() inherits the base blueprint's file trust for that path and skips the allowlist entirely. Two routes reach this state in 2.0.15 through 2.2.12: deepMerge() handles unset and replace in the same branch, so unset-name@ (equally written @unset-name@ or unset-name@2) relocates the whole field, directive included, to a new top-level key exactly as replace-name@ did before 2.2.2 stripped that spelling; and when the base has no matching key, array_merge() renumbers integer keys, so an override field keyed 5 lands at 0 and loses its untrusted attribution without any merge action at all. The reachable sinks are the FlexForm and FlexDirectoryForm builders, which extend a file-defined directory blueprint with frontmatter-supplied form data. The root cause class is CWE-749 (exposed dangerous method or function), compounded by CWE-913 (improper control of dynamically managed code resources) because trust provenance is tracked by field path rather than by value. Grav 1.7 is not affected because 2.0.15 is the release that introduced trusted file-blueprint directives. The 2.2.13 fix strips unset-name@ relocation from untrusted input alongside replace-name@ and, after each merge of untrusted data, compares the merged directive set with the blueprint's prior state (dynamicOf()) so that any new or changed directive is treated as untrusted wherever the merge placed it.

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

Reachable over the network via the admin/API with low complexity; PR:L because page-edit permission is required; UI:N as the attacker triggers their own form build; full C/I/A from arbitrary file read, overwrite and directory deletion.

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
Low
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

DescriptionCVE.org

Grav 2.0.15 before 2.2.13 contains an allowlist bypass vulnerability that allows page editors to invoke arbitrary public static methods by relocating data-*@ directives with unset-name@ or integer keys. Attackers with page-edit permission can embed crafted fields in Flex form overrides in page frontmatter to call methods like Folder::delete or Utils::download, deleting directories, overwriting files, or reading files outside the page tree.

Technical POC Analysis

CWE-749 (Exposed Dangerous Method or Function), with the advisory also tagging CWE-913.

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

CVE-2026-116019 is a high-severity allowlist bypass in Grav CMS (versions 2.0.15-2.2.12) that allows a low-privileged editor to plant a malicious page override, which then executes with administrator privileges when an admin views the page, enabling file deletion, movement, or disclosure. This undermines the separation of duties between content editors and administrators and could lead to data loss, website defacement, or exposure of sensitive files. Leadership should prioritize patching because the vulnerability is easy to exploit by any authenticated editor and the vendor has released a fix.

Business Impact: High
Compensating Controls

Apply vendor patch (upgrade to 2.2.13 or later).

Threat Intelligence Overview

EPSS Score
0.3%
Top 72% exploitable
Prevalence
Medium
popular open-source flat-file CMS, moderate but not ubiquitous footprint
Social Media
2
Sightings
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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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