CVE-2026-75574: Improper Neutralization of Special Elements Used in a Template Engine in getgrav grav
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 templates in email action parameters. This occurs because the plugin renders user-controlled parameters as Twig templates without proper neutralization. The vulnerability requires api.access and api.pages.write permissions and involves placing a malicious Twig expression in the email body parameter, publishing the page, and submitting the form.
AI Analysis
Technical Summary
The Grav Email plugin (getgrav/grav-plugin-email) before version 4.2.2 improperly neutralizes special elements used in its 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. When the page is published and the form submitted, this expression is rendered unsandboxed, allowing arbitrary operating system command execution under the PHP process user. This vulnerability is tracked as CVE-2026-75574 with a CVSS 4.0 score of 8.7 (high severity). No official remediation or patch information is provided in the available data.
Potential Impact
An attacker with limited authenticated API permissions can execute arbitrary operating system commands on the server running the Grav Email plugin. This can lead to full system compromise depending on the privileges of the PHP process. The vulnerability enables remote code execution via template injection in email action parameters.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict api.access and api.pages.write permissions to trusted users only to reduce risk. Monitor vendor channels for updates and apply any released patches promptly.
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 templates in email action parameters. This occurs because the plugin renders user-controlled parameters as Twig templates without proper neutralization. The vulnerability requires api.access and api.pages.write permissions and involves placing a malicious Twig expression in the email body parameter, publishing the page, and submitting the form.
CVSS v4.0
Score 8.7high
Affected software
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) before version 4.2.2 improperly neutralizes special elements used in its 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. When the page is published and the form submitted, this expression is rendered unsandboxed, allowing arbitrary operating system command execution under the PHP process user. This vulnerability is tracked as CVE-2026-75574 with a CVSS 4.0 score of 8.7 (high severity). No official remediation or patch information is provided in the available data.
Potential Impact
An attacker with limited authenticated API permissions can execute arbitrary operating system commands on the server running the Grav Email plugin. This can lead to full system compromise depending on the privileges of the PHP process. The vulnerability enables remote code execution via template injection in email action parameters.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict api.access and api.pages.write permissions to trusted users only to reduce risk. Monitor vendor channels for updates and apply any released patches promptly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-17T22:02:23.045Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a8cf57bacd9273b498428aa
Added to database: 08/25/2026, 01:52:59 UTC
Last enriched: 08/25/2026, 02:07:52 UTC
Last updated: 08/25/2026, 02:12:10 UTC
Views: 4
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.