CVE-2026-86732
published high CVSS 4.0 · 8.7Craft CMS before 5.10.12 Remote Code Execution via element-index
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| craftcms | — | cms5.0.0-RC1 to < 5.10.12 (affected · semver) · 5.10.12 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| craftcms | cms | 5.0.0-RC1 to < 5.10.12 (affected · semver)5.10.12 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
2- GitHub Security Advisory (GHSA-9wcj-wqqh-cqvg) https://github.com/craftcms/cms/security/advisories/GHSA-9wcj-wqqh-cqvg
- VulnCheck Advisory: Craft CMS before 5.10.12 Remote Code Execution via element-index https://www.vulncheck.com/advisories/craft-cms-before-5.10.12-remote-code-execution-via-element-index
Provider assertions
2VulnCheck · cna
Craft CMS before 5.10.12 Remote Code Execution via element-index
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1ed79589f967a8ed27e684e8c2a6db1cb097b1868e436c03675e13b895171d4b
- Ingested
- 23 Sep 2026, 09:37:28 UTC
- Source record
- Official CVE record