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

Read the record on cve.org

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.

ProductVersions
cms craftcms5.0.0 to before 5.11.4 Affected5.11.4 Not Affected

Weaknesses

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.