{"id":"CVE-2026-130744","summary":"Grav 2.0.0 before 2.2.18 RCE via Host Header Environment Folder","details":"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.","aliases":["GHSA-v6jh-qc33-h6gf"],"modified":"2026-11-18T14:46:06.993134756Z","published":"2026-11-18T11:34:02.466Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-15"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130744.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130744.json"},{"type":"ADVISORY","url":"https://github.com/getgrav/grav/security/advisories/GHSA-v6jh-qc33-h6gf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130744"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/getgrav/grav","events":[{"introduced":"bb4022f44b882ca4615188f4da5a0d646cef02ce"},{"fixed":"367d30ae6d461651f27c96cac3ba7eae78a2951e"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"2.0.0"},{"fixed":"2.2.18"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130744.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}