CVE-2026-130737
Grav 2.0.0 before 2.2.18 Privilege Escalation via YAML Merge Key
8.6
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| grav | getgrav | 2.0.0 → <2.2.18 | 2.2.18 | CVE.org |