CVE-2026-75574
Received Received - Intake

Authenticated Command Injection in Grav Email Plugin via Twig Template

Vulnerability report for CVE-2026-75574, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-25

Last updated on: 2026-08-25

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-25
Last Modified
2026-08-25
Generated
2026-08-25
AI Q&A
2026-08-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
getgrav grav_plugin_email to 4.2.2 (exc)
getgrav grav to 4.2.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1336 The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a Remote Code Execution (RCE) flaw in the Grav Email plugin versions before 4.2.2. It allows an authenticated remote user with specific permissions to inject unsandboxed Twig templates into email form parameters. By placing a Twig expression in the header.form.process.email.body field, publishing the page, and submitting the form, the attacker can execute arbitrary operating-system commands as the PHP process owner.

Detection Guidance

Check Grav CMS and Email plugin versions. Run commands like 'composer show getgrav/grav-plugin-email' or check Grav admin panel for plugin versions. Inspect page configurations for unsandboxed Twig expressions in email form parameters.

Impact Analysis

If exploited, this vulnerability could allow an attacker to run arbitrary commands on the server running Grav. This could lead to full system compromise, data theft, unauthorized access, or disruption of services. The impact depends on the privileges of the PHP process owner.

Compliance Impact

This vulnerability could lead to unauthorized access or data breaches, which may violate compliance requirements such as GDPR (data protection) or HIPAA (health information privacy). Organizations affected by this flaw may face legal penalties, reputational damage, and loss of trust due to potential data exposure.

Mitigation Strategies

Upgrade Grav CMS and Email plugin to version 4.2.2 or later. Remove or restrict api.access and api.pages.write permissions for non-admin users. Review and sanitize page-editor-controlled Email action parameters.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-75574. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart