Intel

AIKIDO-2026-587327

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

Remote Code Execution (RCE)CVE-2026-78416 Published Yesterday

87

High Risk

This Affects:

PHPcraftcms/cms
4.0.0 - 4.18.1
Fixed in 4.18.2
5.0.0 - 5.10.5
Fixed in 5.10.6
Are you affected? Scan for Free

TL;DR

Conditions::createCondition() JSON-decodes a condition.config value and merges it back into the outer config without re-running the sanitizer that strips on and as behavior/event keys. An authenticated control panel user can smuggle Yii behavior or event configuration through this decoded value, which Yii then interprets during object construction, allowing arbitrary command execution as the PHP web user. The fix re-sanitizes the decoded config before it reaches object construction.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you grant control panel access to users who are not fully trusted.

Background info

craftcms/cms is vulnerable to Remote Code Execution (RCE) in versions 4.0.0 - 4.18.1 and 5.0.0 - 5.10.5.

How to fix this

Upgrade the craftcms/cms library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform