# CVE-2026-130741: Grav 2.0.0 before 2.2.18 Arbitrary File Read via Twig Sandbox Bypass

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Published: 2026-11-18T11:34:02.165Z
- Modified: 2026-11-21T04:17:19.950Z
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- getgrav grav: from 2.0.0 before 2.2.18 (not affected: 2.2.18)

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-8rhf-56h6-j77w> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-130741](https://www.cve.org/CVERecord?id=CVE-2026-130741), CVE Terms of Use, modified 2026-11-21
- NVD: [CVE-2026-130741](https://nvd.nist.gov/vuln/detail/CVE-2026-130741), Public domain, modified 2026-11-21

---

Page: https://cve.day/CVE-2026-130741 · Whole record: https://cve.day/CVE-2026-130741.json · Rebuilt by cve.day 2026-11-25T22:59:51.811Z
