Skip to content
Heist/ feed
Back to feed
High

Craft CMS before 5.10.12 Remote Code Execution via element-index

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-86732
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 17:23 UTC · Revision 1

Source evidence

Craft CMS before 5.10.12 Remote Code Execution via element-index

core-osv · Original source

Published 8 Sept 2026, 15:14 UTC

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.

osv:CVE-2026-86732
Complete source record
{
  "id": "79fb68dcb171310f4960231c68a5d575e0bf3cdb9db81471b0ae2f686f130a8d",
  "url": "https://osv.dev/vulnerability/CVE-2026-86732",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Craft CMS before 5.10.12 Remote Code Execution via element-index",
    "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 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.",
    "evidence": "osv:CVE-2026-86732",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-86732",
      "aliases": [
        "CVE-2026-86732",
        "GHSA-9wcj-wqqh-cqvg"
      ],
      "metrics": [
        {
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/craftcms/cms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "04755d93f86d07cc183db47db8a0eee106892e30"
                },
                {
                  "fixed": "4edc686e69515ad42f5608580e351c765b664f80"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "5.0.0-RC1"
                      },
                      {
                        "fixed": "5.10.12"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "5.10.12"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-86732.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.975875318Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86732.json",
        "https://github.com/craftcms/cms/security/advisories/GHSA-9wcj-wqqh-cqvg",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-86732",
        "https://www.vulncheck.com/advisories/craft-cms-before-5.10.12-remote-code-execution-via-element-index"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-94"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86732.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-86732",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505286,
  "published_at": "2026-09-08T15:14:02.315+00:00"
}