Vulnerability in Craftcms Cms
CVE-2026-33157
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.011, 67.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Craftcms Cms — versions >= 5.6.0, < 5.9.13
- Craftcms Craft Cms
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- TRX-0/CVE-2026-33157-craftcms-rce (last pushed 2026-09-21): Craft CMS CVE-2026-33157 filter-hud behavior-injection RCE PoC
References
- https://github.com/craftcms/cms/security/advisories/GHSA-2fph-6v5w-89hh (Exploit, Vendor Advisory)
- https://github.com/craftcms/cms/commit/97e90b4bdee369c1af3ca77a77531132df240e4e (Patch)
- https://github.com/craftcms/cms/releases/tag/5.9.13 (Release Notes)
This CVE has public exploit evidence. See the latest CVEs with public exploits.