Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Craftcms | Craft Commerce | >= 5.0.0, < 5.5.3 |
Related Weaknesses (CWE)
References
- https://github.com/craftcms/commerce/commit/094d69df24b925544f337c38e2ec1effcd53Patch
- https://github.com/craftcms/commerce/commit/a2ea853935ef03297ea1298bdb0d8c55ec5dPatch
- https://github.com/craftcms/commerce/security/advisories/GHSA-pmgj-gmm4-jh6jExploitVendor Advisory
FAQ
What is CVE-2026-29174?
CVE-2026-29174 is a vulnerability with a CVSS score of 8.8 (HIGH). 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][sor...
How severe is CVE-2026-29174?
CVE-2026-29174 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-29174?
Check the references section above for vendor advisories and patch information. Affected products include: Craftcms Craft Commerce.