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.
Published: 2026-08-14
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Grav CMS before version 2.0.13 contains a server‑side template injection flaw in email‑action parameters. The unsandboxed "find" filter can be abused in the email subject, body, to, or from fields, allowing an attacker to inject arbitrary Twig payloads and trigger OS command execution.

Affected Systems

The affected product is Grav CMS, specifically versions prior to 2.0.13. Users who are low‑privileged page editors may submit forms that include email‑action parameters, creating the condition for exploitation.

Risk and Exploitability

The vulnerability has a CVSS score of 8.7. EPSS information is not available, and the flaw is not listed in the CISA KEV catalog. The attack requires an attacker to have editor access on the site and to submit a form containing crafted email‑action fields, after which arbitrary operating‑system commands are executed on the server.

Generated by OpenCVE AI on August 14, 2026 at 12:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Grav CMS version 2.0.13 or later to eliminate the template injection flaw.
  • Restrict form editors to a minimal trusted role and disallow the use of "email-action" parameters for untrusted users.
  • If an upgrade is delayed, disable the Twig "find" filter or remove email‑action fields from forms until the patch is applied.

Generated by OpenCVE AI on August 14, 2026 at 12:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 14 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
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.
Title Grav CMS before 2.0.13 Remote Code Execution via Twig
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-1336
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T14:41:54.451Z

Reserved: 2026-08-10T15:12:59.509Z

Link: CVE-2026-72827

cve-icon Vulnrichment

Updated: 2026-08-14T14:41:49.672Z

cve-icon NVD

Status : Received

Published: 2026-08-14T12:16:45.907

Modified: 2026-08-14T15:17:10.567

Link: CVE-2026-72827

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T13:15:17Z

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine