CVE-2026-112770 Details
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.
A remote code execution vulnerability has been identified in Craft CMS versions 4.x prior to 4.18.8 and 5.x prior to 5.11.0. The issue arises in the Twig 'group' filter, where non-string arrow arguments are treated as callables without the necessary 'checkArrow' guard that other arrow-accepting filters have. This vulnerability allows authenticated control panel users to pass an array-callable, such as 'FileHelper::writeToFile', through element-select condition rules. Exploiting this flaw can result in writing a web shell to the webroot and executing code as the web user.
Users can upgrade to Craft CMS versions 4.18.8 or 5.11.0 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 19, 2026CISA-ADP
Assessed Oct 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Craft CMS | >= 4.0.0, <= 4.18.8 (semver) >= 5.0.0, < 5.11.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 22, 2026 | CVE Modified | CISA-ADP |
| Oct 19, 2026 | New CVE Received | [email protected] |
Volerion