Skip to main content
← All vulnerabilities
CVE-2026-33157GHSA-2FPH-6V5W-89HH

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.9.13
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  2. CVE published
  3. Record last updated

Affected versions

  • craftcms cms

    From 5.6.0 · fixed in 5.9.13

  • craftcms/cmsPackagist

    From 5.6.0 · fixed in 5.9.13

References 4

GitHub · craftcms/cms

GitHub · TRX-0/CVE-2026-33157-craftcms-rce