CVE-2026-86730 PUBLISHED

Craft CMS 5.0.0-RC1 before 5.10.12 Behavior Injection RCE

Assigner: VulnCheck
Reserved: 08.09.2026 Published: 08.09.2026 Updated: 08.09.2026

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().

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.7

Product Status

Vendor craftcms
Product cms
Versions Default: unaffected
  • affected from 5.0.0-RC1 to 5.10.12 (excl.)
  • Version 5.10.12 is unaffected

References

Problem Types

  • Improper Control of Generation of Code ('Code Injection') CWE