CVE-2026-33157

HIGH

Craft CMS: Potential authenticated Remote Code Execution via malicious attached Behavior

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 7.2
EPSS 0.0008
EPSS Percentile 24.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-470
Status published
Products (3)
craftcms/cms 5.6.0 - 5.9.13Packagist
craftcms/cms >= 5.6.0, < 5.9.13
craftcms/craft_cms 5.6.0 - 5.9.13
Published Mar 24, 2026
Tracked Since Mar 24, 2026