{"id":"CVE-2026-112772","title":"Craft CMS 5.0.0 before 5.11.0 RCE via Asset::getMimeType Transform Injection","summary":"Craft CMS from 5.0.0 before 5.11.0 contains a remote code execution vulnerability that allows authenticated Control Panel users to escape the Twig sandbox via Asset::getMimeType transforms. Attackers can supply 'as' or 'on' keys passed u…","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","cvssSource":"cna","cwe":["CWE-94"],"vendor":"craftcms","product":"cms","affected":["cms >= 5.0.0 < 5.11.0"],"published":"2026-10-19","updated":"2026-10-19","sourceUpdated":"2026-10-19T19:10:51.181Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-112772","references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-qm9x-rmcj-h2rc","label":"GitHub Security Advisory (GHSA-qm9x-rmcj-h2rc)"},{"url":"https://www.vulncheck.com/advisories/craft-cms-5.0.0-before-5.11.0-rce-via-asset-getmimetype-transform-injection","label":"VulnCheck Advisory: Craft CMS 5.0.0 before 5.11.0 RCE via Asset::getMimeType Transform Injection"}],"tags":["cve.org"],"ingestedAt":"2026-10-19T19:38:06.464Z","slug":"CVE-2026-112772","body":"## Overview\n\nCraft CMS from 5.0.0 before 5.11.0 contains a remote code execution vulnerability that allows authenticated Control Panel users to escape the Twig sandbox via Asset::getMimeType transforms. Attackers can supply 'as' or 'on' keys passed unfiltered to Craft::createObject, attaching malicious behaviors or event handlers that execute code as the web user.\n\n## Affected\n\n- `cms >= 5.0.0 < 5.11.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":48,"depthScoreParts":{"impact":48.4,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}