CVE-2026-75574

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.

Scoring

Severity
HIGH
CVSS base score
8.8
CVSS vector
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
EPSS probability
0.36%
CWE
CWE-1336
Published
2026-08-25
Last modified
2026-08-27

Affected products

Weakness type

Related vulnerabilities

Markdown version · Browse all CVEs