CVE-2026-72825

published 14 Aug 2026 · updated 29 Oct 2026

Grav API Plugin before 1.0.13 API-key scope cap bypass via ReportsController

7.6HighCVSS 7.6EPSS 0%

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

The getgrav/grav-plugin-api plugin before 1.0.13 contains an API-key scope cap bypass in the POST /reports/twig-content/allowlist endpoint (ReportsController). The endpoint enforces requirePermission('api.config.write') followed by a bare isSuperAdmin() check instead of requireSuper(). Because isSuperAdmin() reads access.api.super directly and never consults api_key_scopes, a least-privilege API key scoped to api.config.write minted on a super account passes the gate, allowing an attacker to append attacker-chosen tokens to the security.twig_sandbox allowlist (persisted to user/config/security.yaml). Widening the allowlist turns any subsequent Twig-in-content render into an SSTI/RCE sink.

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-72825 severity on Zeptric[![CVE-2026-72825](https://zeptric.io/badge/cve/CVE-2026-72825.svg)](https://zeptric.io/cve/CVE-2026-72825)