{"apiVersion":"1.0","identifier":"CVE-2026-72825","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.","publishedAt":"2026-08-14T12:16:45","lastModifiedAt":"2026-08-14T18:19:08","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-72825","cvssScore":7.6,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","epssProbability":0.00199,"riskScore":0.77,"affectedProduct":"grav-plugin-api","affectedVersions":"<1.0.13","vulnerabilityType":"Library","operatingSystems":[],"links":{"self":"https://www.redsauce.net/api/cves/CVE-2026-72825","webPages":{"es":"https://www.redsauce.net/es/cves/CVE-2026-72825","en":"https://www.redsauce.net/en/cves/CVE-2026-72825","fr":"https://www.redsauce.net/fr/cves/CVE-2026-72825","pt":"https://www.redsauce.net/pt/cves/CVE-2026-72825","de":"https://www.redsauce.net/de/cves/CVE-2026-72825","sk":"https://www.redsauce.net/sk/cves/CVE-2026-72825","el":"https://www.redsauce.net/el/cves/CVE-2026-72825"},"source":"https://nvd.nist.gov/vuln/detail/CVE-2026-72825"}}