CVE-2026-130741 Grav 2.0.0 before 2.2.18 Arbitrary File Read via Twig Sandbox Bypass
HighCVSS 8.7
EPSS 0.28%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| getgrav/grav | >= 2.0.0, < 2.2.18 | 2.2.18 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav/grav | >= 2.0.0, < 2.2.18 | 2.2.18 |
References
- GitHub Security Advisory (GHSA-8rhf-56h6-j77w) vendor-advisory
- ENISA EUVD EUVD-2026-128813 third-party-advisory