CVE Catalog

CVE-2026-56382

HighCVSS 7.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.49%

38th percentile - higher than 38% of all known CVEs

Summary

Craft CMS versions from 5.5.0 to 5.9.13 contain a remote code execution vulnerability in the FieldsController::actionRenderCardPreview() method. This allows an authenticated admin user to inject Yii2 event handlers, leading to the execution of arbitrary PHP code and disclosure of sensitive information.

Risk Assessment

This vulnerability may lead to the disclosure of confidential data, such as database credentials and the CRAFT_SECURITY_KEY, posing a serious security threat to the organization.

Recommendation

It is recommended to update Craft CMS to version 5.9.14 or later to mitigate this vulnerability.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS