{"id":"CVE-2026-86732","summary":"Craft CMS before 5.10.12 Remote Code Execution via element-index","details":"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.","aliases":["GHSA-9wcj-wqqh-cqvg"],"modified":"2026-09-09T03:48:16.991485733Z","published":"2026-09-08T15:14:02.315Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86732.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86732.json"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-9wcj-wqqh-cqvg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-86732"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/craft-cms-before-5.10.12-remote-code-execution-via-element-index"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/craftcms/cms","events":[{"introduced":"04755d93f86d07cc183db47db8a0eee106892e30"},{"fixed":"4edc686e69515ad42f5608580e351c765b664f80"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"5.0.0-RC1"},{"fixed":"5.10.12"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-86732.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}