All vulnerabilities

Servers and applications

CVE-2026-130744

Grav 2.0.0 before 2.2.18 RCE via Host Header Environment Folder

Severity
High 8.7
Published
18 Nov 2026
Last changed
18 Nov 2026
Added to UpHeron
18 Nov 2026
Fixed in
2.2.18
Exploit chance
1% in the next 30 daysHigher than 63% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-15
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
GravServers and applications · cna:getgrav|grav
  • From 2.0.0 before 2.2.18

About Grav

free software content management system written in PHP

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
1,748Packagist, 15 Nov 2026
Total downloads (Packagist)
92,444Packagist, 15 Nov 2026
GitHub stars
15,725GitHub, 15 Nov 2026
Forks
1,430GitHub, 15 Nov 2026
Latest release
2.2.29GitHub, 15 Nov 2026
Released
11 Nov 2026GitHub
License
MIT LicenseWikidata
Written in
PHPWikidata
First published on GitHub
2 Aug 2014GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-130744