PatchSiren cyber security CVE debrief
CVE-2026-72824 getgrav CVE debrief
The Grav API plugin (getgrav/grav-plugin-api) before version 1.0.13 is vulnerable to server-side template injection (SSTI) and remote code execution due to an API key scope-cap bypass in PagesController::guardTwigContent(). This vulnerability allows a least-privilege API key scoped only to api.pages.write to enable process.twig on a page save when security.twig_content.process_enabled=true and editor_enabled=false. Administrators and users of the Grav API plugin, especially those with high-privilege API keys or exposed installations, should be aware of this vulnerability and take immediate action to patch or mitigate the risk. The CVE record was published on 2026-08-14T12:16:45.520Z and has not been modified since then. Evidence is based on official CVE and NVD records, as well as advisories from the vendor and Vulncheck.
- Vendor
- getgrav
- Product
- grav
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-14
- Original CVE updated
- 2026-08-31
- Advisory published
- 2026-08-14
- Advisory updated
- 2026-08-31
Who should care
Administrators and users of the Grav API plugin, especially those with high-privilege API keys or exposed installations, should be aware of this vulnerability and take immediate action to patch or mitigate the risk.
Technical summary
The Grav API plugin (getgrav/grav-plugin-api) before version 1.0.13 contains a vulnerability that allows for server-side template injection (SSTI) and remote code execution. This is due to an API key scope-cap bypass in PagesController::guardTwigContent(), which does not properly consult api_key_scopes. A least-privilege API key scoped only to api.pages.write can enable process.twig on a page save, leading to potential code execution when security.twig_content.process_enabled=true and editor_enabled=false.
Defensive priority
Organizations using the Grav API plugin should prioritize patching to prevent potential server-side template injection attacks.
Recommended defensive actions
- Apply the patch to update the Grav API plugin to version 1.0.13 or later.
- Restrict API key scopes to the minimum required for each use case.
- Monitor for suspicious activity related to Twig content processing.
- Consider implementing additional security measures, such as Web Application Firewalls (WAFs), to detect and prevent potential attacks.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
Evidence notes
The CVE-2026-72824 record indicates a high-severity vulnerability in the Grav API plugin, with a CVSS score of 8.7. The vulnerability allows for server-side template injection and remote code execution due to an API key scope-cap bypass. Evidence is based on official CVE and NVD records, as well as advisories from the vendor and Vulncheck.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-72824 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-72824
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-72824 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-72824
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/getgrav/grav/security/advisories/GHSA-96xv-p87j-58mx
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/grav-before-api-key-scope-bypass-via-pagescontroller
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.