CVE-2026-72826
8.7high
Grav API Plugin before 1.0.13 Scope Bypass via createApiKey
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.74% (higher than 55% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| getgrav grav-plugin-api | before 1.0.13 Not affected: 1.0.13 | CVE List |
All scores
| VulnCheck | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
References
| https://github.com/getgrav/grav/security/advisories/GHSA-95v9-4fcj-96gh | patch, vendor-advisory | |
| https://www.vulncheck.com/advisories/grav-before-scope-bypass-via-createapikey | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-72826 changed 2026-10-29 | CVE Terms of Use |
| NVD | CVE-2026-72826 changed 2026-10-29 | Public domain |