CVE 8.6 HIGH

Craft CMS: Potential authenticated Remote Code Execution via malicious attached Behavior_CVE-2026-33157

8.6 / 10
HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Description

Craft CMS is a content management system (CMS). From version 5.6.0 to before version 5.9.13, a Remote Code Execution (RCE) vulnerability exists in Craft CMS, it can be exploited by any authenticated user with control panel access. This is a bypass of a previous fix. The existing patches add cleanseConfig() to assembleLayoutFromPost() and various FieldsController actions to strip Yii2 behavior/event injection keys ("as" and "on" prefixed keys). However, the fieldLayouts parameter in ElementIndexesController::actionFilterHud() is passed directly to FieldLayout::createFromConfig() without any sanitization, enabling the same behavior injection attack chain. This issue has been patched in version 5.9.13.

Basic Information

ID CVE-2026-33157
Source GitHub_M
Published Mar 24, 2026 at 17:22
Modified Mar 25, 2026 at 03:56

Affected Product

Vendor craftcms
Product cms
Version >= 5.6.0, < 5.9.13
Affected Versions craftcms cms >= 5.6.0, < 5.9.13

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.