Skip to content
OpenAdvisories
High · 8.6 Public exploit CVE-2026-33157 EUVD-2026-14934GHSA-2fph-6v5w-89hh

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

Published Mar 24, 2026 · Updated Mar 25, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
craftcms cms >= 5.6.0, < 5.9.13 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist craftcms/cms >= 5.6.0, < 5.9.13 5.9.13 GHSA-2fph-6v5w-89hh

References