{"schemaVersion":3,"id":"CVE-2026-29174","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-03-10T19:55:54.645Z","modified":"2026-03-10T20:12:39.918Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.7,"severity":"high","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00543,"percentile":0.44743,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.10699999999999998,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00436},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00543,"percentile":0.44743}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00522,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00543,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00543,"percentile":0.44743}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_CRAFTCMS_COMMERCE","name":"Commerce","source":"github","url":"https://github.com/craftcms/commerce/security/advisories/GHSA-frj9-9rwc-pw9j","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"craftcms","product":"commerce","name":"commerce","label":"commerce","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.0.0 < 5.5.3","noFixRecorded":true,"fixedIn":null}],"versionsText":"≥ 5.0.0 < 5.5.3 (No fix recorded)","eol":null,"hubHref":"/vendor/craftcms/commerce"},{"vendor":"craftcms","product":"craft_commerce","name":"craft commerce","label":"craft_commerce","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.0.0, < 5.5.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.0.0, < 5.5.3","eol":null,"hubHref":"/vendor/craftcms/craft_commerce"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/craftcms/commerce/security/advisories/GHSA-pmgj-gmm4-jh6j","label":"github.com/craftcms/commerce/security/advisories/GHSA-pmgj-gmm4-jh6j","hostname":"github.com","tags":["X Refsource CONFIRM","Exploit","Vendor Advisory"]},{"url":"https://github.com/craftcms/commerce/commit/094d69df24b925544f337c38e2ec1effcd5395c7","label":"github.com/craftcms/commerce/commit/094d69df24b925544f337c38e2ec1effcd5395c7","hostname":"github.com","tags":["X Refsource MISC","Patch"]},{"url":"https://github.com/craftcms/commerce/commit/a2ea853935ef03297ea1298bdb0d8c55ec5daf7b","label":"github.com/craftcms/commerce/commit/a2ea853935ef03297ea1298bdb0d8c55ec5daf7b","hostname":"github.com","tags":["X Refsource MISC","Patch"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-03-10T19:55:54.645Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-03-10T20:12:39.918Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":45,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T00:35:23.134Z","stale":false,"partial":false}}