๐Ÿ” CVE Alert

CVE-2026-72824

CRITICAL 9.8

Grav before 1.0.13 API Key Scope Bypass via PagesController

CVSS Score
9.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-862
Vendor getgrav
Product grav
Published Aug 14, 2026
Stay Ahead of the Next One

Get instant alerts for getgrav grav

Be the first to know when new critical vulnerabilities affecting getgrav grav are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

getgrav / grav
0 < 1.0.13

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/getgrav/grav/security/advisories/GHSA-96xv-p87j-58mx vulncheck.com: https://www.vulncheck.com/advisories/grav-before-api-key-scope-bypass-via-pagescontroller

Credits

๐Ÿ” manus-use