CVE-2026-130741
Grav 2.0.0 before 2.2.18 Arbitrary File Read via Twig Sandbox Bypass
High · 8.7Fix available
- CVSS
- 8.7
- EPSS
- 0.70% (p54)
- Published
- 2026-11-18
- Age
- 18d old
- Modified
- 2026-11-21
- Product
- getgrav grav
- Aliases
- GHSA-8rhf-56h6-j77w
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
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.
Fixed in
2.2.18
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | grav | >=2.0.0, <2.2.18 | 2.2.18 |
Sources
- NVD · first seen 18d ago · NVD terms of use
- OSV · first seen 18d ago · CC-BY 4.0
- CVE List · first seen 18d ago · CVE Terms of Use