Skip to content

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

HighCVSS 8.7 EPSS 0.85%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
PHP

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
craftcms cms >= 5.0.0-RC1, < 5.10.12 5.10.12 Fixed

Affected products

ProductAffected versionsFixed in
craftcms cms >= 5.0.0-RC1, < 5.10.12 5.10.12

References