CVE-2026-29174 HIGH

CVE-2026-29174: Craft Commerce has a SQL Injection in Commerce Inventory Table Sorting

Vendor Craftcms
Product commerce
Weakness CWE-89 · SQLi
Published March 10, 2026
Last update March 10, 2026

CVSS base score

8.7/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 10, 2026 CVE published
March 10, 2026 Record updated