CVE-2026-130744

published 18 Nov 2026 · updated 18 Nov 2026

Grav 2.0.0 before 2.2.18 RCE via Host Header Environment Folder

8.8HighCVSS 8.8EPSS 1%

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

Grav from 2.0.0 before 2.2.18 contains a remote code execution vulnerability that allows page editors to escape the Twig sandbox by sending requests with a Host: pages header. Attackers can write configuration YAML through page folders and media .meta.yaml sidecars to register an unsandboxed Twig namespace and run shell commands as the web server user.

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-130744 severity on Zeptric[![CVE-2026-130744](https://zeptric.io/badge/cve/CVE-2026-130744.svg)](https://zeptric.io/cve/CVE-2026-130744)