CVE-2026-72824

published 14 Aug 2026 · updated 24 Aug 2026

Grav before 1.0.13 API Key Scope Bypass via PagesController

8.8HighCVSS 8.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.0.13.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
getgrav<1.0.131.0.13

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-72824 severity on Zeptric[![CVE-2026-72824](https://zeptric.io/badge/cve/CVE-2026-72824.svg)](https://zeptric.io/cve/CVE-2026-72824)