CVE-2026-72826 Grav API Plugin before 1.0.13 Scope Bypass via createApiKey
HighCVSS 8.7
EPSS 0.47%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
Description
The getgrav/grav-plugin-api plugin before 1.0.13 fails to validate that the scopes of a newly created API key are a subset of the caller's scopes in createApiKey. The self-target path of requireApiKeyPermission() requires only the baseline api.access scope, and the new key's scopes are read directly from the request body with no subset check. An attacker holding a minimal-scope API key on a super account can submit an empty scopes array to mint an unscoped, full-access super key, bypassing scope restrictions (and enabling further chains such as configuration write to RCE).
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| getgrav grav-plugin-api | < 1.0.13 | 1.0.13 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav grav-plugin-api | < 1.0.13 | 1.0.13 |
References
- GitHub Security Advisory (GHSA-95v9-4fcj-96gh) patch vendor-advisory
- VulnCheck Advisory: Grav before 1.0.13 Scope Bypass via createApiKey third-party-advisory
- ENISA EUVD EUVD-2026-58640 third-party-advisory