CVE-2026-112770CWE-94code-injection

CVE-2026-112770

High · published October 20, 2026

CVSS v3.1
8.8
EPSS
1%
Percentile
47.1
In the wild
Unconfirmed
What it is

Craft CMS 4.x before 4.18.8 and 5.x before 5.11.0 contains a remote code execution vulnerability in the Twig group filter, which invokes non-string arrow arguments as callables without the checkArrow guard used by other arrow-accepting filters. Authenticated control panel users can pass an array-callable such as FileHelper::writeToFile via element-select condition rules to write a webshell to the webroot and execute code as the web user.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
8.7 · 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
EPSS
0.00583 · 47.1th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-10-20T00:17Z
References (2)
EPSS history
Timeline
  • 21 OCT 03:27Z
    EPSS moved — → 1%
    epss
  • 19 OCT 19:10Z
    Craft CMS before 4.18.8 and 5.11.0 Authenticated RCE via Twig group Filter Array-Callable
    cvelistv5
  • 19 OCT 19:10Z
    Craft CMS before 4.18.8 and 5.11.0 Authenticated RCE via Twig group Filter Array-Callable
    cvelistv5