All vulnerabilities
CVE-2026-112772GHSA-qm9x-rmcj-h2rc

Craft CMS 5.0.0 before 5.11.0 RCE via Asset::getMimeType Transform Injection

craftcms cms
CVSS
8.7High
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.58%Chance of exploitation activity in the next 30 days, higher than 47% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in5.11.0Fixed versionCVE List
Published19 Oct 2026Updated 20 Oct 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

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 unfiltered to Craft::createObject, attaching malicious behaviors or event handlers that execute code as the web user.

Text from CVE List

Affected versions 2

  • cmsaffected: 5.0.0 before 5.11.0CVE List
  • cmsunaffected: 5.11.0CVE List

References 2