Intel

AIKIDO-2026-10227

craftcms/cms is vulnerable to Remote Code Execution (RCE)

Remote Code Execution (RCE)GHSA-fp5j-j7j4-mcxc Published Feb 22, 2026

75

High Risk

This Affects:

PHPcraftcms/cms
3.5.0 - 4.17.3
Fixed in 4.17.4
5.0.0 - 5.9.8
Fixed in 5.9.9
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to remote code execution (RCE) due to improper handling of element ID templates in condition rules. Untrusted input was rendered without proper sandboxing, allowing crafted templates to execute arbitrary code in certain contexts. The issue is fixed by using a sandboxed template rendering mechanism to prevent unsafe code execution.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

craftcms/cms is vulnerable to Remote Code Execution (RCE) in versions 3.5.0 - 4.17.3 and 5.0.0 - 5.9.8.

How to fix this

Upgrade the craftcms/cms library to the patch version.