High severityNVD Advisory· Published Mar 10, 2026· Updated Mar 10, 2026
Craft Commerce has a SQL Injection in Commerce Inventory Table Sorting
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
craftcms/commercePackagist | >= 5.0.0, < 5.5.3 | 5.5.3 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-pmgj-gmm4-jh6jghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-29174ghsaADVISORY
- github.com/craftcms/commerce/commit/094d69df24b925544f337c38e2ec1effcd5395c7ghsax_refsource_MISCWEB
- github.com/craftcms/commerce/commit/a2ea853935ef03297ea1298bdb0d8c55ec5daf7bghsax_refsource_MISCWEB
- github.com/craftcms/commerce/security/advisories/GHSA-pmgj-gmm4-jh6jghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.