CVE-2026-130744
published high CVSS 4.0 · 8.7Grav 2.0.0 before 2.2.18 RCE via Host Header Environment Folder
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| getgrav | — | grav2.0.0 to < 2.2.18 (affected · semver) · 2.2.18 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| getgrav | grav | 2.0.0 to < 2.2.18 (affected · semver)2.2.18 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-15 External Control of System or Configuration Setting
References
1- GitHub Security Advisory (GHSA-v6jh-qc33-h6gf) https://github.com/getgrav/grav/security/advisories/GHSA-v6jh-qc33-h6gf
Provider assertions
2VulnCheck · cna
Grav 2.0.0 before 2.2.18 RCE via Host Header Environment Folder
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2c5db6fc9df33aff7722c4e731bf55dcf36e7c9524482bd20a42843f2ec80637
- Ingested
- 18 Nov 2026, 13:31:20 UTC
- Source record
- Official CVE record