CVE-2026-75574: Improper Neutralization of Special Elements Used in a Template Engine in getgrav grav
Description
CVE-2026-75574 is a high-severity vulnerability in the Grav Email plugin before version 4.2.2. It allows an authenticated user with limited API permissions to execute arbitrary operating system commands via unsandboxed Twig template rendering in email action parameters. This occurs when a Twig expression is placed in the email body parameter, published, and the form is submitted.
CVSS v4.0
Score 8.7high
Affected software
getgrav
grav
pkg:github/getgrav/grav-email-pluginRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Grav Email plugin (getgrav/grav-plugin-email) versions prior to 4.2.2 improperly neutralize special elements used in the Twig template engine. An authenticated remote user with api.access and api.pages.write permissions can inject a Twig expression into the header.form.process.email.body parameter. This expression is rendered as an unsandboxed Twig template, enabling arbitrary OS command execution under the PHP process account upon form submission.
Potential Impact
Successful exploitation allows an authenticated user with limited permissions to execute arbitrary operating system commands on the server running the Grav application. This can lead to full system compromise depending on the privileges of the PHP process. The vulnerability does not require user interaction beyond form submission and does not require higher privileges than api.access and api.pages.write.
Mitigation Recommendations
No official patch or remediation level is currently confirmed. Users should upgrade to Grav Email plugin version 4.2.2 or later once available. Until then, restrict api.access and api.pages.write permissions to trusted users only and avoid publishing pages that include user-controlled email action parameters. Monitor vendor advisories for updates.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-17T22:02:23.045Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a8cf57bacd9273b498428aa
Added to database: 08/25/2026, 01:52:59 UTC
Last enriched: 09/10/2026, 07:37:32 UTC
Last updated: 10/08/2026, 06:48:19 UTC
Views: 66
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.