Description
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.
Severity (CVSS)
| Base score | 9.3 |
|---|---|
| Severity | Critical |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-269 — Improper Privilege Management
Affected products
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | 0 to <1.0.13; 1.0.13 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-jrm3-jpp7-3gmx (vendor-advisory)
- https://www.vulncheck.com/advisories/grav-before-api-key-scope-bypass-via-userscontroller (third-party-advisory)
Generated from the official CVE List on 15 Aug 2026 07:05 UTC.