Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as user-manager / api.users.write holder
-
DeliverySend PATCH /api/v1/users/<self> with '<<' merge key
-
ExploitBypass super-grant filter, value persisted to YAML
-
ExecutionYAML parser merges access.api.super:true on load
-
ImpactOperate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
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-128809
GHSA-gchh-pq2q-8xrj
NVD
CVE.org
EPSS
Exploit-DB