CVE-2026-86732 PUBLISHED

Craft CMS before 5.10.12 Remote Code Execution via element-index

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

Craft CMS versions before 5.10.12 contain a remote code execution vulnerability in the element-index endpoint that allows authenticated content editors to instantiate arbitrary classes through the criteria parameter. Attackers can inject a malicious class via criteria[withTransforms][0][class] that reaches ImageTransforms::normalizeTransform(), then use a PHP gadget chain with yii\rbac\PhpManager to execute code by pointing itemFile to a request log containing PHP payload in the User-Agent header.

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

Credits

  • Haruna38 reporter

References

Problem Types

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