PT-2026-51230 · Craft Cms · Craft Cms

·

CVE-2026-56382

·

Published

2026-06-21

·

Updated

2026-07-09

CVSS v4.0

8.6

High

VectorAV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Craft CMS versions 5.5.0 through 5.9.13
Description An issue exists in the FieldsController::actionRenderCardPreview() method where the fieldLayoutConfig POST parameter is passed directly to Fields::createLayout() without being processed by Component::cleanseConfig(). This lack of sanitization allows an authenticated admin user to inject Yii2 event handlers, such as on init keys, via the fieldLayoutConfig parameter. This can lead to the execution of arbitrary PHP code and the disclosure of sensitive information, including the CRAFT SECURITY KEY and environment variables containing database credentials.
Recommendations Update to version 5.9.14.

Exploit

Fix

RCE

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-56382
GHSA-86VW-X4WW-X467
GHSA-PMM4-V8F6-4VPP

Affected Products

Craft Cms