CVE-2026-72827
published high CVSS 4.0 · 8.7Grav CMS before 2.0.13 Remote Code Execution via Twig
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| getgrav | — | grav0 to < 2.0.13 (affected · semver) · 2.0.13 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
Grav CMS before 2.0.13 contains a server-side template injection vulnerability in email-action parameters that allows low-privileged page editors to execute arbitrary operating-system commands. Attackers can inject Twig payloads using the unsandboxed find filter in email subject, body, to, or from fields to achieve remote code execution when forms are submitted.
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 | 0 to < 2.0.13 (affected · semver)2.0.13 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
References
2- GitHub Security Advisory (GHSA-xx48-97m4-h7qm) https://github.com/getgrav/grav/security/advisories/GHSA-xx48-97m4-h7qm
- VulnCheck Advisory: Grav CMS before 2.0.13 Remote Code Execution via Twig https://www.vulncheck.com/advisories/grav-cms-before-remote-code-execution-via-twig
Provider assertions
2VulnCheck · cna
Grav CMS before 2.0.13 Remote Code Execution via Twig
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ab489495bfe095462ffdff1fa504f0a71305a0682e5a0dafa0a89111b03d5843
- Ingested
- 23 Sep 2026, 09:30:18 UTC
- Source record
- Official CVE record