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.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 18 Nov 2026 11:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Grav 2.0.0 before 2.2.18 RCE via Host Header Environment Folder | |
| First Time appeared |
Getgrav
Getgrav grav |
|
| Weaknesses | CWE-15 | |
| CPEs | cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Getgrav
Getgrav grav |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-11-18T13:25:22.366Z
Reserved: 2026-11-17T15:40:59.229Z
Link: CVE-2026-130744
No data.
Status : Deferred
Published: 2026-11-18T12:17:21.660
Modified: 2026-11-18T14:17:39.320
Link: CVE-2026-130744
No data.
OpenCVE Enrichment
Updated: 2026-11-18T20:00:12Z
Weaknesses