← VULNERABILITIES

CVE-2026-130744

Grav 2.0.0 before 2.2.18 RCE via Host Header Environment Folder

High · 8.7Fix available
CVSS
8.7
EPSS
1.00% (p64)
Published
2026-11-18
Age
18d old
Modified
2026-11-18
Product
getgrav grav
Aliases
GHSA-v6jh-qc33-h6gf

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

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.

Fixed in

2.2.18

Affected packages

EcosystemPackageRangeFixed
vendorgrav>=2.0.0, <2.2.182.2.18

Sources

  • NVD · first seen 18d ago · NVD terms of use
  • OSV · first seen 18d ago · CC-BY 4.0
  • CVE List · first seen 18d ago · CVE Terms of Use

References

JSON