CVE-2026-72827 PUBLISHED

Grav CMS before 2.0.13 Remote Code Execution via Twig

Assigner: VulnCheck
Reserved: 10.08.2026 Published: 14.08.2026 Updated: 14.08.2026

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.

Metrics

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
CVSS Score: 8.7

Product Status

Vendor getgrav
Product grav
Versions Default: unaffected
  • affected from 0 to 2.0.13 (excl.)
  • Version 2.0.13 is unaffected

Credits

  • Kuba0123 reporter

References

Problem Types

  • Improper Neutralization of Special Elements Used in a Template Engine CWE