
🟠 HIGH (CVSS 7.2) — CVE-2026-56382 Published: 2026-06-21 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. 🧬 CVSS 3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H 🔗 NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-56382 📚 References: • https://github.com/craftcms/cms/security/advisories/GHSA-86vw-x4ww-x467 • https://www.vulncheck.com/advisories/craft-cms-remote-code-execution-via-missing-config-sanitization-in-fieldscontroller #CVE #CyberSecurity #InfoSec #Vulnerability
Post summary
The advisory announces a remote code execution flaw in Craft CMS’s FieldsController, detailing its CVSS, affected versions, and a fix (v5.9.14) without reporting active exploitation or PoC.

