CVE-2026-56382
Craft CMS (composer package craftcms/cms) versions >= 5.5.0 and <= …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/craftcms/cms/security/advisories/GHSA-86vw-x4ww-x467
- www.vulncheck.com/advisories/craft-cms-remote-code-execution-via-missing-config-sanitizati
- nvd.nist.gov/vuln/detail/CVE-2026-56382
- github.com/advisories/GHSA-86vw-x4ww-x467
- nvd.nist.gov/vuln/detail/CVE-2026-56382
- cve.org/CVERecord?id=CVE-2026-56382
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.