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 (63.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 63rd percentile — 63.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.011 · change: +0.000
Affected products
- Craftcms Cms — versions >= 5.6.0, < 5.9.13
- Craftcms Craft Cms
Weakness classification (CWE)
References
- github.com/craftcms/cms/security/advisories/GHSA-2fph-6v5w-89hh (Exploit, Vendor Advisory)
- github.com/craftcms/cms/commit/97e90b4bdee369c1af3ca77a77531132df240e4e (Patch)
- github.com/craftcms/cms/releases/tag/5.9.13 (Release Notes)
Frequently asked questions
- What is CVE-2026-33157?
- CVE-2026-33157 is a high-severity vulnerability in Craftcms Cms, classified under Use of Externally-Controlled Input to Select Classes or Code (Unsafe Reflection). CVSS score: 7.2/10. Published 2026-03-24.
- How severe is CVE-2026-33157?
- High severity. CVSS v3 base score is 7.2 out of 10.