CVE-2026-31867
Craft Commerce has a Potential IDOR in Commerce carts
Record summary
CVE-2026-31867 has a selected CVSS score of 6.3 (medium).
Description
Craft Commerce is an ecommerce platform for Craft CMS. Prior to 4.11.0 and 5.6.0, An Insecure Direct Object Reference (IDOR) vulnerability exists in Craft Commerce’s cart functionality that allows users to hijack any shopping cart by knowing or guessing its 32-character number. The CartController accepts a user-supplied number parameter to load and modify shopping carts. No ownership validation is performed - the code only checks if the order exists and is incomplete, not whether the requester has authorization to access it. This vulnerability enables the takeover of shopping sessions and potential exposure of PII. This vulnerability is fixed in 4.11.0 and 5.6.0.
Exploitation context
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Mar 12, 2026 · Source: CVE List
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
commerceBrowse craftcms / commerce | CVE List | >= 4.0.0, < 4.11.0 | affected |
| >= 5.0.0, < 5.6.0 | affected | ||
craftcms/commerceBrowse Packagist / craftcms/commerce | GitHub Advisory | 5.0.0 to < 5.6.0 · Fixed in 5.6.0 | affected |
| 4.0.0 to < 4.11.0 · Fixed in 4.11.0 | affected |