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.
- CVSS
- 8.8High
- Chance of exploitation (EPSS)
- 1.00%
- Published
- Nov 18, 2026
- In the news
- Not yet
What to do
A serious security flaw in Getgrav Grav that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 2.2.18
Affected versions
- Getgrav Grav
- 2.0.0 to before 2.2.18
Description
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 products
Get alerts for these →Timeline 1
Latest change: CVE-2026-130744 published (CVSS 8.8) (Nov 18, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Nov 18, 2026
- CVECVE-2026-130744 published (CVSS 8.8)CVE Program · 12:17 UTC
References 1
- github.com /getgrav/grav/security/advisories/GHSA-v6jh-qc33-h6gf