Privilege escalation in Getgrav Grav
CVE-2026-72829
The Grav API plugin (getgrav/grav-plugin-api) before 1.0.13 contains an API-key scope-cap bypass in UsersController's create() and update() methods. These methods enforce the scope cap only for api.users.write, but gate super-privilege grants on a bare isSuperAdmin() check that reads access.api.super directly without consulting the key's scopes. As a result, an api.users.write-scoped key minted on a super account can set access.api.super or assign a super-granting group to mint or promote a full super account, then authenticate as that account for uncapped administrative privileges.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 41.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Getgrav Grav — versions 0, 1.0.13
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-jrm3-jpp7-3gmx) (vendor-advisory)
- VulnCheck Advisory: Grav before 1.0.13 API Key Scope Bypass via UsersController (third-party-advisory)