# CVE-2026-72825: Grav API Plugin before 1.0.13 API-key scope cap bypass via ReportsController

- Severity: High 7.2 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-14T11:35:33.800Z
- Modified: 2026-10-29T21:17:32.363Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- getgrav grav-plugin-api: before 1.0.13 (not affected: 1.0.13)

## Every score

- VulnCheck: CVSS:4.0 7.2 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-v5ph-7v92-wqm6> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/grav-before-api-key-scope-cap-bypass-via-reportscontroller> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-72825](https://www.cve.org/CVERecord?id=CVE-2026-72825), CVE Terms of Use, modified 2026-10-29
- NVD: [CVE-2026-72825](https://nvd.nist.gov/vuln/detail/CVE-2026-72825), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-72825 · Whole record: https://cve.day/CVE-2026-72825.json · Rebuilt by cve.day 2026-11-25T22:59:32.905Z
