What’s Vulnerable › Vulnerabilities

CVE-2026-86730: Craft CMS 5.0.0-RC1 before 5.10.12 Behavior Injection RCE

Description

Craft CMS versions before 5.10.12 fail to properly cleanse string-typed field-layout elements, allowing authenticated control-panel users to inject Yii2 behavior attachments and event handlers. Attackers can post field-layout tab elements as JSON strings to bypass cleanse validation, then trigger arbitrary object instantiation and code execution through Craft::createObject().

Affected products

How to fix

Upgrade to a fixed version: craftcms cms 5.10.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-86730 or the next vulnerability affects your stack