CVE-2026-112770

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.
Configurations

No configuration.

History

19 Oct 2026, 20:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-19 20:17

Updated : 2026-10-22 21:17


NVD link : CVE-2026-112770

Mitre link : CVE-2026-112770

CVE.ORG link : CVE-2026-112770


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')