CVE-2026-29172 — Vulnerability in craftcms/commerce — CVE Details
Craft Commerce is Vulnerable to SQL Injection in Commerce Purchasables Table Sorting
Summary
Advisory Timeline
- First published March 10, 2026 (216 days ago).
- Last revised March 13, 2026 — 2 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "craftcms/commerce:^4.10.2"
composer require "craftcms/commerce:^5.5.3"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: packagist (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| craftcms/commerce | packagist | 4.0.0, 4.0.1, 4.0.2, 4.0.3 (+65 more) | 4.10.2 |
| craftcms/commerce | packagist | 5.0.0, 5.0.1, 5.0.10, 5.0.10.1 (+83 more) | 5.5.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
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
References
- https://github.com/craftcms/commerce/security/advisories/GHSA-j3x5-mghf-xvfwWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-29172ADVISORY
- https://github.com/craftcms/commerce/commit/b231b920b73db023e81e5b261b894d73e865c276WEB
- https://github.com/craftcms/commerce/commit/e4e0f4107cd895d29290523637f077fe280407b1WEB
- https://github.com/craftcms/commercePACKAGE
Frequently Asked Questions
- What is CVE-2026-29172?
- Craft Commerce is Vulnerable to SQL Injection in Commerce Purchasables Table Sorting This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2026-29172?
- CVE-2026-29172 affects craftcms/commerce. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-29172 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-32271HIGH
Craft Commerce has a SQL Injection can lead to Remote Code Execution via TotalRevenue Widget
- CVE-2026-29174HIGH
Craft Commerce is vulnerable to SQL Injection in Commerce Inventory Table Sorting
- CVE-2026-32272HIGH
Craft Commerce hasVariant/hasProduct Blind SQL Injection
- CVE-2026-65954HIGH
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
- CVE-2026-61825HIGH
code16/sharp has a stored XSS via data-html-content Sanitizer Bypass
- CVE-2026-25482MEDIUM
Craft Commerce has Stored DOM XSS in Order Status Name (Reflects in "Recent Orders" Dashboard Widget)
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies