CVE-2026-130737: Grav 2.0.0 before 2.2.18 Privilege Escalation via YAML Merge Key

Published Nov 18, 2026
·
Updated

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 Software

1 affected component
Rockettheme Grav>=2.0.0<2.2.18

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Grav to a version that resolves this vulnerability.

    Fixed in 2.2.18

Event History

Nov 18, 2026
CVE Published
via MITRE·11:34 AM
Data Sourced
via MITRE·11:34 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker must already have either the admin.users.create permission or the api.users.write permission. Those permissions allow submission of crafted user access data containing a YAML merge key.

2

Can an attacker use this to obtain full administrative control?

Yes. A user manager can nest access maps under a '<<' YAML merge key to bypass super-grant filtering and assign themselves super-admin rights, resulting in full site control.

3

Which versions are affected?

Grav versions from 2.0.0 up to, but not including, 2.2.18 are affected.

4

How might attempted exploitation appear in logs or requests?

Review user creation and update activity, especially PATCH requests to /api/v1/users/<self>, for submitted YAML data containing a '<<' key or nested access maps. Also investigate accounts that unexpectedly gained super-admin rights.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203