# CVE-2026-75574: Grav before 4.2.2 Remote Code Execution via Email Twig

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-08-25T01:30:26.910Z
- Modified: 2026-10-12T15:10:00.207Z
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- getgrav grav: before 4.2.2 (not affected: 4.2.2)

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-gh8j-q67c-j53f> (vendor-advisory)
- <https://www.vulncheck.com/advisories/grav-before-remote-code-execution-via-email-twig> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-75574](https://www.cve.org/CVERecord?id=CVE-2026-75574), CVE Terms of Use, modified 2026-08-27
- NVD: [CVE-2026-75574](https://nvd.nist.gov/vuln/detail/CVE-2026-75574), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2026-75574 · Whole record: https://cve.day/CVE-2026-75574.json · Rebuilt by cve.day 2026-11-25T22:59:35.095Z
