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.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-09-08 16:18
Updated : 2026-09-10 14:17
NVD link : CVE-2026-86732
Mitre link : CVE-2026-86732
CVE.ORG link : CVE-2026-86732
JSON object : View
Products Affected
No product.
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
