# CVE-2026-33157: Craft CMS: Potential authenticated Remote Code Execution via malicious attached Behavior

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.35%, higher than 72% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-24T16:50:42.000Z
- Modified: 2026-06-17T10:37:02.773Z
- Also known as: GHSA-2fph-6v5w-89hh
- Weaknesses: CWE-470
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- craftcms cms: >= 5.6.0, < 5.9.13
- craftcms/cms (Packagist): from 5.6.0 before 5.9.13
- craftcms craft_cms: from 5.6.0 before 5.9.13

## Every score

- GitHub_M: CVSS:4.0 8.6 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/craftcms/cms/security/advisories/GHSA-2fph-6v5w-89hh> (exploit, vendor-advisory, web)
- <https://github.com/craftcms/cms/commit/97e90b4bdee369c1af3ca77a77531132df240e4e> (patch, web)
- <https://github.com/craftcms/cms/releases/tag/5.9.13> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33157> (advisory)
- <https://github.com/advisories/GHSA-255j-qw47-wjh5> (advisory)
- <https://github.com/advisories/GHSA-7jx7-3846-m7w7> (advisory)
- <https://github.com/craftcms/cms> (package)

## Sources

- CVE List: [CVE-2026-33157](https://www.cve.org/CVERecord?id=CVE-2026-33157), CVE Terms of Use, modified 2026-03-25
- GitHub Advisory Database: [GHSA-2fph-6v5w-89hh](https://github.com/advisories/GHSA-2fph-6v5w-89hh), CC-BY-4.0, modified 2026-03-25
- NVD: [CVE-2026-33157](https://nvd.nist.gov/vuln/detail/CVE-2026-33157), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33157 · Whole record: https://cve.day/CVE-2026-33157.json · Rebuilt by cve.day 2026-11-25T22:59:16.585Z
