Privilege escalation in Getgrav Grav
CVE-2026-72826
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).
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 (38.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 38th percentile — 38.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.005 · change: +0.002
Affected products
- Getgrav Grav — versions 0, 1.0.13
Weakness classification (CWE)
References
- github.com/getgrav/grav/security/advisories/GHSA-95v9-4fcj-96gh (vendor-advisory)
- www.vulncheck.com/advisories/grav-before-scope-bypass-via-createapikey (third-party-advisory)
Frequently asked questions
- What is CVE-2026-72826?
- CVE-2026-72826 is a high-severity vulnerability in Getgrav Grav, classified under Incorrect Privilege Assignment. CVSS score: 8.8/10. Published 2026-08-14.
- How severe is CVE-2026-72826?
- High severity. CVSS v3 base score is 8.8 out of 10.