CVE-2026-130741
published high CVSS 4.0 · 8.7Grav 2.0.0 before 2.2.18 Arbitrary File Read via Twig Sandbox Bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| getgrav | — | grav2.0.0 to < 2.2.18 (affected · semver) · 2.2.18 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
Grav from 2.0.0 before 2.2.18 contains a Twig sandbox bypass vulnerability that allows publishers to read any server file by abusing allowlisted array_key_value() and page accessor setters such as filePath(). Attackers can repoint page objects or overwrite the assets collections to render private keys and the API signing secret, then forge a super-admin API token.
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 | 2.0.0 to < 2.2.18 (affected · semver)2.2.18 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
1- GitHub Security Advisory (GHSA-8rhf-56h6-j77w) https://github.com/getgrav/grav/security/advisories/GHSA-8rhf-56h6-j77w
Provider assertions
2VulnCheck · cna
Grav 2.0.0 before 2.2.18 Arbitrary File Read via Twig Sandbox Bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f17c32be81a98d53e0a53bbe1211d3a3807a9406c6d6baf0bfbf16f73d587b0e
- Ingested
- 21 Nov 2026, 03:41:35 UTC
- Source record
- Official CVE record