CVE-2026-29172: Craft Commerce - SQL Injection
- Cve: CVE-2026-29172
- Name: Craft Commerce - SQL Injection
- Description: 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.
- Impact: Authenticated attackers can execute arbitrary SQL commands, potentially leading to data leakage or modification.
- Remediation: Upgrade to versions 4.10.2 or 5.5.3 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: sql_injection
- Requirement type: logged_in
- Requirements: Attacker must be authenticated
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00474
- Epss percentile: 0.41821
- Assignee: [email protected]
- Published at: 2026-03-10T20:16:38Z
- Age in days: 259
- Modified at: 2026-06-17T10:29:42Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-29172
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/craftcms/commerce/security/advisories/GHSA-j3x5-mghf-xvfw | nvd | 2026-03-10 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| craftcms:craft_commerce | >= 5.0.0, < 5.5.3; >= 4.0.0, < 4.10.2 | no | nvd | /v1/products/craftcms/craft_commerce |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| craftcms/commerce | commit, fix, package, security_advisory | yes | /v1/repositories/craftcms/commerce |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-03-10
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts