Vulnerability

CVE-2026-72825

highCVSS 4.0 7.2Published 14 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /getgrav/grav/security/advisories/GHSA-v5ph-7v92-wqm6
  • www.vulncheck.com /advisories/grav-before-api-key-scope-cap-bypass-via-report…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning