CVE-2026-29172: Craft CMS Craft Commerce
High severity, CVSS 8.8. EPSS: 0.5% chance of exploitation in the next 30 days.
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.
Affected products
- Craft CMS Craft Commerce: from 4.0.0, before 4.10.2 (fixed in 4.10.2); from 5.0.0, before 5.5.3 (fixed in 5.5.3)
Published 2026-03-10. Last modified 2026-06-17.