Craft CMS 5.0.0 before 5.11.4 RCE via Image Transform Class Guard Bypass
Fix:the vendor lists fixed versions See versions ↓
craftcms · cms
The flaw is in the image transform handling of Craft CMS, specifically in ImageTransforms::normalizeTransform(), affecting versions from 5.0.0 before 5.11.4. It allows an attacker to instantiate arbitrary classes by supplying a crafted transform with class:null and a __class key, and the method can be reached through Craft Commerce's payments/pay redirect template. An unauthenticated remote attacker with network access and no user interaction can exploit it to achieve remote code execution, for example by instantiating yii\rbac\PhpManager to run PHP.
Official description · NVD
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.
- Exploited
- Not confirmed
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Disclosed on 18 Nov 2026. No public exploit code or confirmed exploitation is recorded.
Affected versions and fixes
as published in the CVE recordcraftcms cms
Affected: >= 5.0.0, < 5.11.4
Not affected: 5.11.4
What security researchers reported
Not named in any threat report yetAlso mentioned in 4 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- Known_Cve | Nov 21, 2026 | Part 2/320 Nov 2026
- Known_Cve | Nov 20, 2026 | Part 2/320 Nov 2026
- Known_Cve | Nov 20, 2026 | Part 2/319 Nov 2026
- Known_Cve | Nov 19, 2026 | Part 2/319 Nov 2026