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

Read the record on cve.org

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.

ProductVersions
grav getgrav2.0.0 to before 2.2.18 Affected2.2.18 Not Affected

Weaknesses

  • CWE-138 Improper Neutralization of Special Elements

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.