# CVE-2026-56382: Craft CMS - Remote Code Execution via Missing Config Sanitization in FieldsController

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `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): 0.68%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-21T13:26:58.994Z
- Modified: 2026-11-08T14:06:08.481Z
- Also known as: GHSA-86vw-x4ww-x467
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

Craft CMS (composer package craftcms/cms) versions >= 5.5.0 and <= 5.9.13 contain a remote code execution vulnerability in the FieldsController::actionRenderCardPreview() method, which passes the fieldLayoutConfig POST parameter directly to Fields::createLayout() without calling Component::cleanseConfig(). An authenticated admin user can inject Yii2 event handlers (e.g., 'on init' keys) via the fieldLayoutConfig parameter to execute arbitrary PHP code and disclose sensitive information (such as environment variables containing database credentials and CRAFT_SECURITY_KEY). The issue is fixed in version 5.9.14.

(As written by CVE List.)

## Affected

- craftcms cms: from 5.5.0 before 5.9.14 (not affected: 5.9.14)
- craftcms/cms (Packagist): from 5.5.0 before 5.9.14

## Every score

- VulnCheck: 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`
- VulnCheck: 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`
- GitHub: CVSS:4.0 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`

## References

- <https://github.com/craftcms/cms/security/advisories/GHSA-86vw-x4ww-x467> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/craft-cms-remote-code-execution-via-missing-config-sanitization-in-fieldscontroller> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-56382> (advisory)
- <https://github.com/craftcms/cms> (package)

## Sources

- CVE List: [CVE-2026-56382](https://www.cve.org/CVERecord?id=CVE-2026-56382), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-86vw-x4ww-x467](https://github.com/advisories/GHSA-86vw-x4ww-x467), CC-BY-4.0, modified 2026-08-06
- NVD: [CVE-2026-56382](https://nvd.nist.gov/vuln/detail/CVE-2026-56382), Public domain, modified 2026-10-25

---

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