Summary
CVE-2026-130675 is a critical remote code execution vulnerability in Craft CMS 5.x, caused by an incorrect comparison in ImageTransforms::normalizeTransform(). It affects versions 5.0.0 through 5.11.3 and is rated CVSS 9.3 (Critical, CVSS v4.0). The vendor advisory states that exploitation requires Craft Commerce to be installed.
Technical details
- Root cause:
ImageTransforms::normalizeTransform()relies onisset()checks that can be bypassed when an attacker supplies bothclass => nulland a__classkey (CWE-697, Incorrect Comparison). This lets the attacker instantiate arbitrary autoloadable PHP classes with attacker-controlled properties. - Trigger conditions: Craft Commerce is installed. Its
payments/payendpoint renders a signed redirect parameter as a sandboxed Order object template. The template accessorcustomer.photo.getUrl(<attacker transform>, true)then reaches the vulnerable method. The advisory describes the attacker as an unauthenticated user with a profile photo. - Attack vector: Network, with no authentication or user interaction required.
- Impact: Remote code execution. The CVE record gives instantiation of
yii\rbac\PhpManagerto execute PHP code as an example.
Affected software
- Craft CMS 5.0.0 through 5.11.3 (inclusive), with Craft Commerce installed as the exploitation path described by the vendor.
Severity
- CVSS v4.0 base score: 9.3 (Critical),
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - The CVE record also lists CVSS v3.1: 9.8 (Critical),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: upgrade Craft CMS to 5.11.4 or later.
- The vendor advisory lists no workarounds. If you cannot patch immediately, prioritize exposed Craft CMS 5.x instances that run Craft Commerce.

