CVE-2026-29174
Description
Craft Commerce is an ecommerce platform for Craft CMS. Prior to 5.5.3, Craft Commerce is vulnerable to SQL Injection in the inventory levels table data endpoint. The sort[0][direction] and sort[0][sortField] parameters are concatenated directly into an addOrderBy() clause without any validation or sanitization. An authenticated attacker with access to the Commerce Inventory section can inject arbitrary SQL queries, potentially leading to a full database compromise. This vulnerability is fixed in 5.5.3.
How to fix
- craftcms craft_commerce5.5.3 or later
- craftcms/commerce5.5.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| craftcms craft_commerce | 5.0.0 ≤ v < 5.5.3 | 5.5.3 |
| craftcms/commercePackagist | 5.0.0 ≤ v < 5.5.3 | 5.5.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.