CVE-2026-29174Craft Commerce has a SQL Injection in Commerce Inventory Table Sorting
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| craftcms | commerce | >= 5.0.0 < 5.5.3 | |
| craftcms | craft commerce | 5.0.0 – < 5.5.3 |
References and patches
CPE matches (NVD) (1)
cpe:2.3:a:craftcms:craft_commerce:*:*:*:*:*:craft_cms:*:*≥ 5.0.0 < 5.5.3