What’s Vulnerable › Vulnerabilities
CVE-2026-29174: Craft Commerce has a SQL Injection in Commerce Inventory Table Sorting
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-10 · updated 2026-06-17
- Weakness: CWE-89
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.
Affected products
- craftcms commerce: from 5.0.0 before 5.5.3 — fixed in 5.5.3
How to fix
Upgrade to a fixed version: craftcms commerce 5.5.3. Check the vendor advisory for mitigations.
References
- https://github.com/craftcms/commerce/commit/094d69df24b925544f337c38e2ec1effcd5395c7
- https://github.com/craftcms/commerce/commit/a2ea853935ef03297ea1298bdb0d8c55ec5daf7b
- https://github.com/craftcms/commerce/security/advisories/GHSA-pmgj-gmm4-jh6j
Get alerted when CVE-2026-29174 or the next vulnerability affects your stack