All vulnerabilities
CVE-2026-112770GHSA-xmwr-88vw-5ghh

Craft CMS before 4.18.8 and 5.11.0 Authenticated RCE via Twig group Filter Array-Callable

craftcms cms
CVSS
8.7High
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.58%Chance of exploitation activity in the next 30 days, higher than 47% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in4.18.8Also 5.11.0CVE List
Published19 Oct 2026Updated 22 Oct 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

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.

Text from CVE List

Affected versions 4

  • cmsaffected: 4.0.0 before 4.18.8CVE List
  • cmsunaffected: 4.18.8CVE List
  • cmsaffected: 5.0.0 before 5.11.0CVE List
  • cmsunaffected: 5.11.0CVE List

References 2