Auth bypass in Getgrav Grav
CVE-2026-72824
The Grav API plugin (getgrav/grav-plugin-api) before 1.0.13 contains an API key scope-cap bypass in PagesController::guardTwigContent(). The Twig-toggle check uses a bare isSuperAdmin() gate that does not consult api_key_scopes, so a least-privilege API key scoped only to api.pages.write and minted on a super account can enable process.twig on a page save even though admin.pages_twig is intentionally outside the api.pages scope. When security.twig_content.process_enabled=true and editor_enabled=false, this allows Twig-in-content to execute server-side, resulting in server-side template injection (SSTI) and remote code execution.
Vulnerability class: Broken Access Control
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.007 (52.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 52nd percentile — 52.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.007 · change: +0.003
Affected products
- Getgrav Grav — versions 0, 1.0.13
Weakness classification (CWE)
References
- github.com/getgrav/grav/security/advisories/GHSA-96xv-p87j-58mx (vendor-advisory)
- www.vulncheck.com/advisories/grav-before-api-key-scope-bypass-via-pagescontroll… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-72824?
- CVE-2026-72824 is a high-severity vulnerability in Getgrav Grav, classified under Missing Authorization. CVSS score: 8.8/10. Published 2026-08-14.
- How severe is CVE-2026-72824?
- High severity. CVSS v3 base score is 8.8 out of 10.