CVE-2026-130744 Grav 2.0.0 before 2.2.18 RCE via Host Header Environment Folder
HighCVSS 8.7
EPSS 1.00%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| getgrav/grav | >= 2.0.0, < 2.2.18 | 2.2.18 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav/grav | >= 2.0.0, < 2.2.18 | 2.2.18 |
References
- GitHub Security Advisory (GHSA-v6jh-qc33-h6gf) vendor-advisory
- ENISA EUVD EUVD-2026-128595 third-party-advisory