CVE Explorer
CVE-2026-29172
Craft Commerce is an ecommerce platform for Craft CMS. Prior to 4.10.2 and 5.5.3, Craft Commerce is vulnerable to SQL Injection in the purchasables table endpoint. The sort parameter is split by | and the first part (column name) is passed directly as an array key to orderBy() without whitelist validation. Yii2's query builder does NOT escape array keys, allowing an authenticated attacker to inject arbitrary SQL into the ORDER BY clause. This vulnerability is fixed in 4.10.2 and 5.5.3.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"commerce","vendor":"craftcms","versions":[{"status":"affected","version":">= 4.0.0 < 4.10.2"},{"status":"affected","version":">= 5.0.0 < 5.5.3"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d55c9a16ae6294c5413851079ebb52f90bbacf8b0ce03036048c0202d2ffd38c · sha256:e7db6956807490e3… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","privilegesRequired":"LOW","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d55c9a16ae6294c5413851079ebb52f90bbacf8b0ce03036048c0202d2ffd38c · sha256:e7db6956807490e3… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-89","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d55c9a16ae6294c5413851079ebb52f90bbacf8b0ce03036048c0202d2ffd38c · sha256:e7db6956807490e3… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/craftcms/commerce/commit/b231b920b73db023e81e5b261b894d73e865c276","tags":["x_refsource_MISC"],"url":"https://github.com/craftcms/commerce/commit/b231b920b73db023e81e5b261b894d73e865c276"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d55c9a16ae6294c5413851079ebb52f90bbacf8b0ce03036048c0202d2ffd38c · sha256:e7db6956807490e3… · /containers/cna/references/1
{"name":"https://github.com/craftcms/commerce/commit/e4e0f4107cd895d29290523637f077fe280407b1","tags":["x_refsource_MISC"],"url":"https://github.com/craftcms/commerce/commit/e4e0f4107cd895d29290523637f077fe280407b1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d55c9a16ae6294c5413851079ebb52f90bbacf8b0ce03036048c0202d2ffd38c · sha256:e7db6956807490e3… · /containers/cna/references/2
{"tags":["exploit"],"url":"https://github.com/craftcms/commerce/security/advisories/GHSA-j3x5-mghf-xvfw"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d55c9a16ae6294c5413851079ebb52f90bbacf8b0ce03036048c0202d2ffd38c · sha256:e7db6956807490e3… · /containers/adp/0/references/0
{"name":"https://github.com/craftcms/commerce/security/advisories/GHSA-j3x5-mghf-xvfw","tags":["x_refsource_CONFIRM"],"url":"https://github.com/craftcms/commerce/security/advisories/GHSA-j3x5-mghf-xvfw"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d55c9a16ae6294c5413851079ebb52f90bbacf8b0ce03036048c0202d2ffd38c · sha256:e7db6956807490e3… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.