CVE-2026-130741
8.7high
Grav 2.0.0 before 2.2.18 Arbitrary File Read via Twig Sandbox Bypass
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.70% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| getgrav grav | from 2.0.0 before 2.2.18 Not affected: 2.2.18 | CVE List |
All scores
| VulnCheck | 8.7high CVSS:4.0 | 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 |
| VulnCheck | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-130741 changed 2026-11-21 | CVE Terms of Use |
| NVD | CVE-2026-130741 changed 2026-11-21 | Public domain |