CVE-2026-130744
Dashboard / Vulnerabilities / 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.
References: https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130744.json, https://github.com/getgrav/grav/security/advisories/GHSA-v6jh-qc33-h6gf, https://nvd.nist.gov/vuln/detail/CVE-2026-130744
Affected packages
Package
Name:
Purl:
Affected ranges
Type: GIT
Events:
Introduced- bb4022f44b882ca4615188f4da5a0d646cef02ce
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
