High severity · published Mar 10, 2026
CVE-2026-29174
Craft Commerce has a SQL Injection in Commerce Inventory Table Sorting
8.8
CVSS
0.5%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 40% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
commerce · craftcms
>= 5.0.0 < 5.5.3 · source: vendor
CC
Craft Commerce · Craftcms
5.0.0 before 5.5.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-29174
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-29174
Patch
https://github.com/craftcms/commerce/commit/094d69df24b925544f337c38e2ec1effcd5395c7
Patch
https://github.com/craftcms/commerce/commit/a2ea853935ef03297ea1298bdb0d8c55ec5daf7b
Exploit
https://github.com/craftcms/commerce/security/advisories/GHSA-pmgj-gmm4-jh6j
More from commerce
8.8
CVE-2026-29172
Craft Commerce has a SQL Injection in Commerce Purchasables Table Sorting
8.7
CVE-2026-32272
Craft Commerce: Blind SQL Injection via hasVariant/hasProduct
7.7
CVE-2026-32271
Craft Commerce: SQL Injection can lead to Remote Code Execution via TotalRevenue Widget
6.9
CVE-2026-55795
Craft Commerce: Coupon Code Brute-Force via Rate Limit Bypass
5.4
CVE-2026-29177
Craft Commerce has Stored XSS in Craft Commerce Order Details Slideout
