Remote Code Execution Vulnerability in Craft CMS by Craft
CVE-2026-56382
8.6HIGH
What is CVE-2026-56382?
Craft CMS versions from 5.5.0 to 5.9.13 are vulnerable to a remote code execution issue. The vulnerability exists in the FieldsController::actionRenderCardPreview() method, which improperly processes the fieldLayoutConfig POST parameter. This oversight allows authenticated admin users to inject Yii2 event handlers through the fieldLayoutConfig parameter, enabling the execution of arbitrary PHP code. As a result, sensitive data such as database credentials and the CRAFT_SECURITY_KEY may be compromised. This vulnerability is addressed in Craft CMS version 5.9.14, where proper configuration sanitization is implemented.
Affected Version(s)
cms 5.5.0 < 5.9.14
cms 5.9.14
