Skip to content

CVE-2026-112772 Craft CMS 5.0.0 before 5.11.0 RCE via Asset::getMimeType Transform Injection

HighCVSS 8.7 EPSS 0.71%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
craftcms cms >= 5.0.0, < 5.11.0 5.11.0 Fixed

Affected products

ProductAffected versionsFixed in
craftcms cms >= 5.0.0, < 5.11.0 5.11.0

References