CVE-2026-75574
Grav before 4.2.2 Remote Code Execution via Email Twig
CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-1336 |
| Vendor | getgrav |
| Product | grav |
| Published | Aug 25, 2026 |
Stay Ahead of the Next One
Get instant alerts for getgrav grav
Be the first to know when new high vulnerabilities affecting getgrav grav are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
getgrav / grav
0 < 4.2.2
References
Credits
๐ n0tra4e