CVE-2026-130741

published 18 Nov 2026 · updated 21 Nov 2026

Grav 2.0.0 before 2.2.18 Arbitrary File Read via Twig Sandbox Bypass

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.2.18.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
getgrav>=2.0.0 <2.2.182.2.18

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-130741 severity on Zeptric[![CVE-2026-130741](https://zeptric.io/badge/cve/CVE-2026-130741.svg)](https://zeptric.io/cve/CVE-2026-130741)