CVE-2026-75574 HIGH

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

Vendor Getgrav
Product grav
Weakness CWE-1336
Published August 25, 2026
Last update August 27, 2026

CVSS base score

8.7/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 25, 2026 CVE published
August 27, 2026 Record updated

Related vulnerabilities

04Related CVE