{"id":"CVE-2026-75574","aliases":["CVE-2026-75574"],"related":[],"kind":"vulnerability","state":"published","title":"Grav before 4.2.2 Remote Code Execution via Email Twig","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"El plugin Grav Email (getgrav/grav-plugin-email) anterior a la versión 4.2.2 renderiza los parámetros de acción de correo electrónico controlados por el editor de páginas como plantillas Twig no aisladas. Un usuario remoto autenticado con solo permisos de api.access y api.pages.write puede colocar una expresión Twig en header.form.process.email.body, publicar la página y enviar el formulario para ejecutar un comando arbitrario del sistema operativo como la cuenta que ejecuta PHP.","source":"nvd"}],"published":"2026-08-25T01:30:26.910Z","modified":"2026-10-12T15:10:00.207Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-1336"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"4.2.2","status":"affected"},{"type":"semver","version":"4.2.2","status":"unaffected"}],"vendor":"getgrav","product":"grav","source":"cvelist"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-gh8j-q67c-j53f","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/grav-before-remote-code-execution-via-email-twig","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["n0tra4e"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-27T16:12:00.734Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-75574","url":"https://www.cve.org/CVERecord?id=CVE-2026-75574","licence":"CVE Terms of Use","modified":"2026-08-27T16:46:04.470Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-75574","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-75574","licence":"Public domain","modified":"2026-10-12T15:10:00.207Z"}],"updatedAt":"2026-11-25T22:59:35.095Z","epss":{"score":0.00364,"percentile":0.32264,"date":"2026-12-01T12:00:22.000Z"}}