Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Craftcms | Craft Commerce | >= 4.0.0, < 4.11.0 |
Related Weaknesses (CWE)
References
- https://github.com/craftcms/commerce/pull/4207Issue TrackingPatch
- https://github.com/craftcms/commerce/security/advisories/GHSA-vff3-pqq8-4cpqPatchVendor AdvisoryExploit
FAQ
What is CVE-2026-31867?
CVE-2026-31867 is a vulnerability with a CVSS score of 4.8 (MEDIUM). 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 use...
How severe is CVE-2026-31867?
CVE-2026-31867 has been rated MEDIUM with a CVSS base score of 4.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-31867?
Check the references section above for vendor advisories and patch information. Affected products include: Craftcms Craft Commerce.