{"id":"CVE-2026-75574","published":"2026-08-25T01:30:26Z","modified":"2026-08-27T16:46:04Z","title":"Grav before 4.2.2 Remote Code Execution via Email Twig","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00655,"percentile":0.52303,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-gh8j-q67c-j53f","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/grav-before-remote-code-execution-via-email-twig","tags":["third-party-advisory"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":10.46},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 4.2.2"]}],"fixedVersions":[{"vendor":"getgrav","product":"grav","versions":["4.2.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-08-27T16:12:00.734700Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-65217","exploited":false,"provenance":"source"}}