CVE-2026-72825
published high CVSS 4.0 · 7.2Grav API Plugin before 1.0.13 API-key scope cap bypass via ReportsController
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| getgrav | — | grav-plugin-api0 to < 1.0.13 (affected · semver) · 1.0.13 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.6 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| getgrav | grav-plugin-api | 0 to < 1.0.13 (affected · semver)1.0.13 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-862 Missing Authorization
References
2- GitHub Security Advisory (GHSA-v5ph-7v92-wqm6) https://github.com/getgrav/grav/security/advisories/GHSA-v5ph-7v92-wqm6
- VulnCheck Advisory: Grav before 1.0.13 API-key scope cap bypass via ReportsController https://www.vulncheck.com/advisories/grav-before-api-key-scope-cap-bypass-via-reportscontroller
Provider assertions
2VulnCheck · cna
Grav API Plugin before 1.0.13 API-key scope cap bypass via ReportsController
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- dc549bd6d59ddaf6bdec3aa726aceeeba1d83a27314a2d49a1848f4054892a6d
- Ingested
- 29 Oct 2026, 21:23:06 UTC
- Source record
- Official CVE record