CVE-2026-72824
highpriority · track · 35OT risk · elevatedEPSS 0.007 · 54 %ileEUEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.3–9.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (1)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/getgrav/grav/security/advisories/GHSA-96xv-p87j-58mxcnnvd
- https://www.vulncheck.com/advisories/grav-before-api-key-scope-bypass-via-pagescontrollercnnvd
- https://github.com/getgrav/grav/security/advisories/GHSA-96xv-p87j-58mxenisa_euvd
- https://www.vulncheck.com/advisories/grav-before-api-key-scope-bypass-via-pagescontrollerenisa_euvd
- https://github.com/getgrav/grav/security/advisories/GHSA-96xv-p87j-58mxnvd
- https://www.vulncheck.com/advisories/grav-before-api-key-scope-bypass-via-pagescontrollernvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan