Code Injection in Craft CMS - #VU145007
Published: August 25, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to improper control of code generation in ImageTransforms::normalizeTransform() when handling request-supplied transform data through the element-index endpoint. A remote user can send a specially crafted request that injects a class name and configuration to execute arbitrary code.
Exploitation requires a logged-in non-admin account with access to the control panel and view access to a volume containing at least one asset. The attack uses the admin path and requires specific request parameters for the asset query to reach the vulnerable code path.