CVE-2026-72824
Last modified
CVE-2026-72824 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | < 1.0.13 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-72824?
How severe is CVE-2026-72824?
How do I fix CVE-2026-72824?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-72819Grav CMS before 2.0.13 contains a remote code execution vuln…8.8
- CVE-2026-7282A vulnerability was identified in SourceCodester Pharmacy Sa…4.7
- CVE-2026-72820Grav versions before 2.0.13 fail to properly validate backup…4.9
- CVE-2026-72821Grav Form plugin versions before 9.1.15 contain a stored cro…5.4
- CVE-2026-72822The getgrav/grav-plugin-api Composer package before 1.0.13 (…8.8
- CVE-2026-72823The Grav API plugin (getgrav/grav-plugin-api) before 1.0.13 …5.4
- CVE-2026-72825The getgrav/grav-plugin-api plugin before 1.0.13 contains an…7.6
- CVE-2026-72826The getgrav/grav-plugin-api plugin before 1.0.13 fails to va…8.8
- CVE-2026-72827Grav CMS before 2.0.13 contains a server-side template injec…8.8
- CVE-2026-72828Grav Plugin API (getgrav/grav-plugin-api) before 1.0.13 fail…7.2
- CVE-2026-72829The Grav API plugin (getgrav/grav-plugin-api) before 1.0.13 …8.8
- CVE-2026-7283A security flaw has been discovered in SourceCodester Pharma…4.7
Are you affected by CVE-2026-72824?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
