Threat Feed

CVE-2026-130675: craftcms cms · Remote code execution

Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-18

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.

Enclave's analysis

Craft CMS 5.0.0 up to 5.11.4 has a class guard bypass in image transform handling. An attacker can instantiate arbitrary classes, which can lead to PHP execution. The documented path runs through Craft Commerce's payments/pay template. No public exploit or in-the-wild use has been found, but a similar 2025 Craft bug was exploited. Upgrade to 5.11.4 or later; 5.11.5 also fixes a separate SQL injection.

Fix

Upgrade cms to 5.11.4; craftcms/cms to 5.11.4.

Vendor advisory

Affected versions

ProductVulnerableFixed in
cms5.0.0 before 5.11.45.11.4
craftcms/cms>=5.0.0, <5.11.45.11.4

Seen in 2 sources