What’s Vulnerable › Vulnerabilities

CVE-2026-72827: Grav CMS before 2.0.13 Remote Code Execution via Twig

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.

Affected products

How to fix

Upgrade to a fixed version: getgrav grav 2.0.13. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-72827 or the next vulnerability affects your stack