---
id: CVE-2026-75574
title: >-
  The Grav Email plugin (getgrav/grav-plugin-email) before 4.2.2 renders
  page-editor-controlled Email action parameters as unsandboxed Twig templates
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 pl…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-1336
published: '2026-08-25'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T15:10:00.207'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-75574'
references:
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-gh8j-q67c-j53f'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/grav-before-remote-code-execution-via-email-twig
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00655
epssPercentile: 0.49948
ingestedAt: '2026-10-12T15:55:08.147Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
