---
id: CVE-2026-86732
title: >-
  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
summary: >-
  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…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
vendor: craftcms
product: cms
affected:
  - cms >= 5.0.0-RC1 < 5.10.12
published: '2026-09-08'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T14:17:09.963'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86732'
references:
  - url: 'https://github.com/craftcms/cms/security/advisories/GHSA-9wcj-wqqh-cqvg'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/craft-cms-before-5.10.12-remote-code-execution-via-element-index
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-10T13:54:03.530549Z'
epss: 0.0085
epssPercentile: 0.56343
ingestedAt: '2026-09-08T15:33:26.987Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
