SQL injection in Craft CMS - #VU159596
Published: November 6, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to read and modify the Craft CMS application database and escalate to administrator.
The vulnerability exists due to unsanitized concatenation of the attribute parameter into SQL queries in the element search endpoint, where emulated prepared statements permit stacked query execution. An unauthenticated remote attacker can submit crafted search requests to modify an account's administrator flag, as demonstrated by updating and reading back that flag.