Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

CVE-2026-112772

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

craftcms cms

Default version status: unaffected

  • 5.0.0 to < 5.11.0affected
  • 5.11.0unaffected

References