CVE-2026-130675
Craft CMS 5.0.0 before 5.11.4 RCE via Image Transform Class Guard Bypass
9.3
Description
Craft CMS from 5.0.0 before 5.11.4 contains a remote code execution vulnerability in ImageTransforms::normalizeTransform() that allows attackers to instantiate arbitrary classes by supplying class:null with a __class key. Attackers can reach the method through Craft Commerce's payments/pay redirect template calling customer.photo.getUrl() with a crafted transform to instantiate classes like yii\rbac\PhpManager and execute PHP.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| cms | craftcms | 5.0.0 → <5.11.4 | 5.11.4 | CVE.org |