Skip to main content

Grav CMS CVE-2026-130737

| EUVDEUVD-2026-128809 HIGH
Improper Neutralization of Special Elements (CWE-138)
2026-11-18 VulnCheck GHSA-gchh-pq2q-8xrj
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as user-manager / api.users.write holder
  2. Delivery
    Send PATCH /api/v1/users/<self> with '<<' merge key
  3. Exploit
    Bypass super-grant filter, value persisted to YAML
  4. Execution
    YAML parser merges access.api.super:true on load
  5. Impact
    Operate as super-admin with full site control

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Improper neutralization of special elements
Exploitation Conditions

Requires an authenticated account that already holds a delegated user-management permission - specifically admin.users.create (exploited via a Flex user create form using data[<<][access] fields) or api.users.write (exploited via the REST route PATCH /api/v1/users/<self> with a body nesting the super grant under a '<<' key). The core condition is the YAML merge-key bypass: the '<<' key survives super-grant filtering (BlueprintSchema::filterArray keeps undeclared keys under validation: loose, and UserObject::update strips only top-level keys) and the Symfony YAML parser merges it back so access.api.<<.super:true is read as access.api.super:true. Affected: Grav 2.0.0 through 2.2.17, and the API plugin's accessGrantsSuper() check before 1.1.6. Limiting factor: the attacker must possess an existing admin-tier user-management grant (PR:H) - anonymous or ordinary low-privilege users cannot trigger it - which bounds this to an insider or compromised-privileged-account threat; no end-user interaction is required.

Impact

This is a credible but privilege-gated escalation, not a mass-exploitation emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N, score 8.6) is internally consistent with the description: exploitation is network-reachable and low-complexity, but PR:H correctly reflects that the attacker must already hold a granted user-management right (admin.users.create or api.users.write). The impact metrics (VC:H/VI:H/VA:H) are justified because the outcome is super-admin, i.e. full site control. No EPSS score and no CISA KEV entry were provided, so there is no signal of widespread or confirmed active exploitation; the vuln.today Decision label is 'this_week' (not act_now/emergency), which aligns with a serious-but-not-under-attack posture. The GHSA advisory supplies concrete reproducer detail (a public PoC reference exists; it is not verified as working exploit code). The main reason this is not merely a high-CVSS-low-risk issue is the insider/compromised-account threat model: any user-manager or api.users.write holder - a tier that is supposed to be bounded below super-admin - can cross that boundary, and this is explicitly a repeat spelling of two prior fixed issues (GHSA-mwjj-r7vm-pgqm, GHSA-m2rq-76vx-vv4j), indicating the boundary has been fragile. Key missing data: EPSS and KEV absent (treat as not an error, but exploitation prevalence is unconfirmed), and no independent confirmation of in-the-wild use.

Exploit ScenarioDerived

An account holding a delegated user-management right (admin.users.create or api.users.write) that is deliberately scoped below super-admin submits account data containing a '<<' YAML merge key nesting a super grant - for example PATCH /api/v1/users/<self> with {"access":{"api":{"<<":{"super":true}}}}. The super-grant filter strips top-level keys but leaves the '<<' key, which the YAML parser merges back into the access map on load, promoting the attacker to super-admin and full site control. The advisory includes reproducer detail (Flex create form data[<<][access] fields and the REST body), so a public PoC reference exists but is not verified as working exploit code.

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 – Nov 18, 2026

Privilege escalation in Grav CMS 2.0.0 through 2.2.17 lets an authenticated account that already holds a delegated user-management right (admin.users.create or api.users.write) promote itself to super admin and take full control of the site. The bypass works by submitting a YAML merge key ('<<') that survives the super-grant filter and is merged back into the access map when the account file is parsed, so access.api.<<.super:true is read as access.api.super:true; the REST path PATCH /api/v1/users/<self> needs no page interaction. Exploitation requires an existing admin-tier grant (PR:H), so this is an insider or compromised-privileged-account threat rather than a mass-exploitation emergency; no public exploit code has been identified at time of analysis, though the vendor advisory documents a reproducer, and the fix ships in Grav 2.2.18 plus API plugin 1.1.6.

RemediationAI

Upgrade to Grav 2.2.18 and update the API plugin to 1.1.6, as directed by the vendor advisory at https://github.com/getgrav/grav/security/advisories/GHSA-gm9r-xmhp-p55q. In 2.2.18 the YAML encoder refuses '<<' as a key across compiled YAML files, Markdown headers, Flex directory configuration saves and form flash storage, so a write carrying the key fails instead of persisting, while blueprint filtering of form data drops the key at any depth so a form still saves the rest of its payload; patched API plugin 1.1.6 answers such a write with a 422 response and its accessGrantsSuper() check rejects an access map containing '<<' with a validation error. The advisory does not document a workaround for unpatched instances, making the update the only complete fix; until it can be applied, exposure is bounded by the existing admin-tier grant, so auditing and tightening which accounts hold admin.users.create and api.users.write limits who can reach the flaw, at the cost of removing delegated user-management capability from those roles.

Affected VersionsENISA

grav 2.0.0 <2.2.18

Affected Packages

euvd grav fix: 2.2.18

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

The root cause is improper neutralization of special elements (CWE-138), with overlapping weaknesses in privilege management (CWE-269) and data validation (CWE-915). Grav stores user accounts as YAML, and account data arriving from a Flex create form (admin.users.create) or from the REST API (api.users.write) is passed through BlueprintSchema::filterArray(), which under 'validation: loose' - the mode the account blueprint uses - keeps undeclared keys. UserObject::update() only strips super-grant keys at the top level, so a nested '<<' key survives the filter. The Symfony YAML dumper serializes that key as "'<<':", and on the next load the YAML parser treats it as a merge key and merges its contents into the surrounding mapping, turning access.api.<<.super:true into access.api.super:true at read time. The advisory notes the same pattern applies to any YAML writer handed request data, including form flash storage, Flex directory configuration and page frontmatter, and that the API plugin's own accessGrantsSuper() check is bypassed in versions before 1.1.6. The YAML writer involved dates from Grav 1.6.0, but the advisory scopes the attack to the admin tier and therefore to Grav 2.0.0 through 2.2.17.

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

Network-reachable REST/form write at low complexity, but requires an existing user-management grant so PR:H; promotion to super-admin yields full confidentiality, integrity and availability impact within the same system, so S:U.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/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
High
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
Nov 18, 2026 - 13:02 EUVD
CVE Published
Nov 18, 2026 - 11:34 cve.org
HIGH 8.6

DescriptionCVE.org

Grav from 2.0.0 before 2.2.18 contains a privilege escalation vulnerability that allows user managers to grant super-admin rights by nesting access maps under a YAML merge key. Attackers with admin.users.create or api.users.write can submit '<<' keys, for example via PATCH /api/v1/users/<self>, that bypass super-grant filtering and gain full site control.

Technical POC Analysis

CWE-138 (Improper Neutralization of Special Elements), with CWE-269 / CWE-915 as secondary classes per the advisory.

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 versions 2.0.0 through 2.2.17 contain a high-severity privilege escalation flaw that allows an authenticated user with delegated user-management rights (admin.users.create or api.users.write) to escalate to super admin and take full control of the site. This affects organizations using Grav CMS for their web presence, where insiders or compromised privileged accounts could exploit the flaw to gain unrestricted access, potentially leading to data breaches, website defacement, or further network compromise.

Business Impact: High
Compensating Controls

Vendor-released patch: Grav 2.2.18 and API plugin 1.1.6. If patch cannot be applied immediately, restrict admin panel and API access to trusted IP ranges, temporarily remove delegated user-management rights (admin.users.create/api.users.write) from non-essential accounts, disable the REST API if not required, and monitor logs for anomalous privilege changes or YAML merge key usage in user profiles.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
niche flat-file open-source CMS, modest footprint versus mainstream CMS platforms
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 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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

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