CVE-2026-130675

Craft CMS 5.0.0 before 5.11.4 RCE via Image Transform Class Guard Bypass

Critical published · updated

9.3
CVSS score out of 10 · NVD (vulncheck.com)

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 / packageEcosystem / vendorVersionsFixed inSource
cms craftcms 5.0.0 → <5.11.45.11.4 CVE.org

References