---
id: CVE-2026-72827
title: >-
  Grav CMS before 2.0.13 contains a server-side template injection vulnerability
  in email-action parameters that allows low-privileged page editors to execute
  arbitrary operating-system commands
summary: >-
  Grav CMS before 2.0.13 contains a server-side template injection vulnerability
  in email-action parameters that allows low-privileged page editors to execute
  arbitrary operating-system commands. Attackers can inject Twig payloads using
  th…
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-14'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:32:39.347'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-72827'
references:
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-xx48-97m4-h7qm'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/grav-cms-before-remote-code-execution-via-twig
    label: disclosure@vulncheck.com
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-xx48-97m4-h7qm'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.0085
epssPercentile: 0.56507
ingestedAt: '2026-09-08T21:11:12.278Z'
---

## Overview

Grav CMS before 2.0.13 contains a server-side template injection vulnerability in email-action parameters that allows low-privileged page editors to execute arbitrary operating-system commands. Attackers can inject Twig payloads using the unsandboxed find filter in email subject, body, to, or from fields to achieve remote code execution when forms are submitted.

## Remediation

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