Craft CMS 5.0.0 before 5.11.4 RCE via Image Transform Class Guard Bypass
- State
- Published
- Severity
- 9.3 Critical
- Published
- Nov 18, 2026
- Updated
- Nov 21, 2026
- Reserved
- Nov 17, 2026
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.
| Product | Versions |
|---|---|
| cms craftcms | 5.0.0 to before 5.11.4 Affected5.11.4 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | VulnCheck | |
| 3.1 | 9.8 Critical | VulnCheck |
Weaknesses
- CWE-697 Incorrect Comparison
References
- GitHub Security Advisory (GHSA-hq78-cm2m-h24h)Vendor Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.