CVE-2026-112770 Craft CMS before 4.18.8 and 5.11.0 Authenticated RCE via Twig group Filter Array-Callable
Authenticated Craft CMS users can achieve remote code execution by exploiting the Twig group filter to write and execute a webshell.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-112770?
CVE-2026-112770 is a high-severity code injection vulnerability in craftcms cms, published on 19 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2026-112770?
How do I fix CVE-2026-112770?
No fix has been published for CVE-2026-112770 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-112770 being exploited?
There is no known exploitation of CVE-2026-112770 in the wild and no public exploit code.
Sources
Also known as GHSA-xmwr-88vw-5ghh, GHSA-xw77-mfcc-54f8.