Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-31867 EUVD-2026-11271GHSA-vff3-pqq8-4cpq

Craft Commerce has a Potential IDOR in Commerce carts

Published Mar 11, 2026 · Updated Mar 12, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
craftcms commerce >= 4.0.0, < 4.11.0, >= 5.0.0, < 5.6.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist craftcms/commerce >= 5.0.0, < 5.6.0 5.6.0 GHSA-vff3-pqq8-4cpq
Packagist craftcms/commerce >= 4.0.0, < 4.11.0 4.11.0 GHSA-vff3-pqq8-4cpq

References