CVE-2026-130744 Grav 2.0.0 before 2.2.18 RCE via Host Header Environment Folder

High 8.7 Published Updated
Exploited in the wild
Not known
Fix
2.2.18

What is CVE-2026-130744?

CVE-2026-130744 is a high-severity vulnerability in getgrav grav, published on 18 Nov 2026.

Official 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.

Weakness: CWE-15

Which versions are affected by CVE-2026-130744?

How do I fix CVE-2026-130744?

Upgrade getgrav grav to 2.2.18 or later. The advisory says that version fixes it.

Is CVE-2026-130744 being exploited?

There is no known exploitation of CVE-2026-130744 in the wild and no public exploit code.

Sources

Also known as GHSA-chpm-qp64-6f93, GHSA-v6jh-qc33-h6gf.

Is CVE-2026-130744 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free