Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/craftcms/cms/security/advisories/GHSA-86vw-x4ww-x467
- https://www.vulncheck.com/advisories/craft-cms-remote-code-execution-via-missing
- https://github.com/craftcms/cms/security/advisories/GHSA-86vw-x4ww-x467
FAQ
What is CVE-2026-56382?
CVE-2026-56382 is a vulnerability with a CVSS score of 7.2 (HIGH). 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 fiel...
How severe is CVE-2026-56382?
CVE-2026-56382 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-56382?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.