Vulnerability

CVE-2026-56382

highCVSS 4.0 8.6Published 21 Jun 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /craftcms/cms/security/advisories/GHSA-86vw-x4ww-x467
  • www.vulncheck.com /advisories/craft-cms-remote-code-execution-via-missing-con…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning