Grav 2.0.0 before 2.2.18 Privilege Escalation via YAML Merge Key
- State
- Published
- Severity
- 8.6 High
- Published
- Nov 18, 2026
- Updated
- Nov 21, 2026
- Reserved
- Nov 17, 2026
Description
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.
| Product | Versions |
|---|---|
| grav getgrav | 2.0.0 to before 2.2.18 Affected2.2.18 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.6 High | VulnCheck | |
| 3.1 | 7.2 High | VulnCheck |
Weaknesses
- CWE-138 Improper Neutralization of Special Elements
References
- GitHub Security Advisory (GHSA-gm9r-xmhp-p55q)Vendor Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.