Incorrect comparison in Craft CMS - #VU159608
Published: November 6, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to execute arbitrary PHP code on a Craft CMS server.
The vulnerability exists due to incorrect null checks in image transform validation when class is null and __class selects another PHP class. An unauthenticated remote attacker can use a public site user's profile photo accessor during sandboxed rendering of Craft Commerce's signed redirect parameter at payments/pay to instantiate an attacker-selected class.