API-Key Scope Bypass in Grav Plugin Affects Grav by Getgrav
CVE-2026-72825

7.2HIGH

Key Information:

Vendor

Getgrav

Status
Vendor
CVE Published:
14 August 2026

What is CVE-2026-72825?

The Grav API plugin prior to version 1.0.13 is prone to an API-key scope cap bypass vulnerability. This occurs in the POST /reports/twig-content/allowlist endpoint managed by the ReportsController. The implementation only checks for super admin status without proper handling of API-key scopes, allowing users with least-privilege API keys to execute unauthorized actions. This flaw enables attackers to inject malicious tokens into the allowlist for the security.twig_sandbox, which, when exploited, can lead to server-side template injection (SSTI) and possibly remote code execution (RCE).

Affected Version(s)

grav 0 < 1.0.13

grav 1.0.13

References

CVSS V4

Score:
7.2
Severity:
HIGH
Confidentiality:
Low
Integrity:
High
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

manus-use
.