CVE-2026-72824
published high CVSS 4.0 · 8.7Grav before 1.0.13 API Key Scope Bypass via PagesController
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| getgrav | — | grav0 to < 1.0.13 (affected · semver) · 1.0.13 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
The Grav API plugin (getgrav/grav-plugin-api) before 1.0.13 contains an API key scope-cap bypass in PagesController::guardTwigContent(). The Twig-toggle check uses a bare isSuperAdmin() gate that does not consult api_key_scopes, so a least-privilege API key scoped only to api.pages.write and minted on a super account can enable process.twig on a page save even though admin.pages_twig is intentionally outside the api.pages scope. When security.twig_content.process_enabled=true and editor_enabled=false, this allows Twig-in-content to execute server-side, resulting in server-side template injection (SSTI) and remote code execution.
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
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| getgrav | grav | 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-96xv-p87j-58mx) https://github.com/getgrav/grav/security/advisories/GHSA-96xv-p87j-58mx
- VulnCheck Advisory: Grav before 1.0.13 API Key Scope Bypass via PagesController https://www.vulncheck.com/advisories/grav-before-api-key-scope-bypass-via-pagescontroller
Provider assertions
2VulnCheck · cna
Grav before 1.0.13 API Key Scope Bypass via PagesController
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1f84ccba249687bc2ad9934ca0bac99a1318e180ed68c026045c5c6c54a4d16d
- Ingested
- 23 Sep 2026, 09:30:18 UTC
- Source record
- Official CVE record