CVE-2026-86732 Craft CMS before 5.10.12 Remote Code Execution via element-index

High 8.7 Published Updated

Authenticated content editors can execute arbitrary code in Craft CMS by injecting malicious classes into the element-index endpoint.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-86732?

CVE-2026-86732 is a high-severity code injection vulnerability in craftcms cms, published on 8 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-94

Which versions are affected by CVE-2026-86732?

How do I fix CVE-2026-86732?

No fix has been published for CVE-2026-86732 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-86732 being exploited?

There is no known exploitation of CVE-2026-86732 in the wild and no public exploit code.

Sources

Also known as GHSA-9wcj-wqqh-cqvg, GHSA-j222-3wjr-f2f7.

Is CVE-2026-86732 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free