CVE-2026-56382
Last modified
CVE-2026-56382 is a high-severity vulnerability rated 8.6/10 on the CVSS scale. 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). EPSS estimates a 0.49% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-56382?
How severe is CVE-2026-56382?
How do I fix CVE-2026-56382?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-56376ImageMagick before 7.1.2-15 and 6.9.13-40 contains a heap us…3.3
- CVE-2026-56377ImageMagick before 7.1.2-24 contains an incorrect policy che…4.8
- CVE-2026-56378ImageMagick before 7.1.2-15 (and 6.x before 6.9.13-40) conta…8.2
- CVE-2026-56379ImageMagick before 7.1.2-15 and 6.9.13-40 contains a command…9.2
- CVE-2026-5638A vulnerability was detected in HerikLyma CPPWebFramework up…5.5
- CVE-2026-56381Craft CMS from version 5.0.0-RC1 contains a stored cross-sit…4.8
- CVE-2026-56383Craft CMS contains a stored cross-site scripting (XSS) vulne…4.8
- CVE-2026-56384Craft CMS contains a missing authorization vulnerability in …5.3
- CVE-2026-56385Craft CMS versions >= 5.0.0-RC1, <= 5.9.13 and >= 4.0.0-RC1,…5.3
- CVE-2026-56389GNU Bison allows for an execution of an arbitrary program du…6.8
- CVE-2026-5639A flaw has been found in PHPGurukul Online Shopping Portal P…6.3
- CVE-2026-56390GNU Bison improperly handles grammar‑defined output paths. G…4.6
Are you affected by CVE-2026-56382?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
