CVE-2026-75574
published high CVSS 4.0 · 8.7Grav before 4.2.2 Remote Code Execution via Email Twig
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| getgrav | — | grav0 to < 4.2.2 (affected · semver) · 4.2.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
The Grav Email plugin (getgrav/grav-plugin-email) before 4.2.2 renders page-editor-controlled Email action parameters as unsandboxed Twig templates. An authenticated remote user with only api.access and api.pages.write permissions can place a Twig expression in header.form.process.email.body, publish the page, and submit the form to execute an arbitrary operating-system command as the account running PHP.
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 < 4.2.2 (affected · semver)4.2.2 (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-gh8j-q67c-j53f) https://github.com/getgrav/grav/security/advisories/GHSA-gh8j-q67c-j53f
- VulnCheck Advisory: Grav before 4.2.2 Remote Code Execution via Email Twig https://www.vulncheck.com/advisories/grav-before-remote-code-execution-via-email-twig
Provider assertions
2VulnCheck · cna
Grav before 4.2.2 Remote Code Execution via Email Twig
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- afc01aaddb44c0cf40f2e8a4574fe6821887c1a4bf753a55fdfd012bebdd121a
- Ingested
- 23 Sep 2026, 09:31:51 UTC
- Source record
- Official CVE record