High severity · published Aug 14, 2026
CVE-2026-72827
Grav CMS before 2.0.13 Remote Code Execution via Twig
8.8
CVSS
0.8%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 58% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GR
grav · getgrav
before 2.0.13 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-72827
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-72827
github.com
https://github.com/getgrav/grav/security/advisories/GHSA-xx48-97m4-h7qm
www.vulncheck.com
https://www.vulncheck.com/advisories/grav-cms-before-remote-code-execution-via-twig
More from grav
9.9
CVE-2024-34082
Grav is a file-based Web platform
9.8
CVE-2026-80203
Grav before 1.0.18 Authentication Bypass via Scoped API Key
9.8
CVE-2026-56710
Grav Login Plugin before 1.0.16 Privilege Escalation via Unlock
9.8
CVE-2026-65008
Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData
9.8
CVE-2021-47812
GravCMS 1.10.7 - Arbitrary YAML Write/Update (Unauthenticated) (2)
