CVE-2026-130744
JSON

8.7high

Grav 2.0.0 before 2.2.18 RCE via Host Header Environment Folder

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
1.00% (higher than 63% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
getgrav gravfrom 2.0.0 before 2.2.18
Not affected: 2.2.18
CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-15

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-130744 changed 2026-11-18CVE Terms of Use
NVDCVE-2026-130744 changed 2026-11-18Public domain