Skip to main content
← All vulnerabilities
CVE-2026-31867GHSA-VFF3-PQQ8-4CPQ

Craft Commerce has a Potential IDOR in Commerce carts

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.11.0, 5.6.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • craftcms commerce

    From 4.0.0 · fixed in 4.11.0; From 5.0.0 · fixed in 5.6.0

  • craftcms/commercePackagist

    From 5.0.0 · fixed in 5.6.0

  • craftcms/commercePackagist

    From 4.0.0 · fixed in 4.11.0

References 2

GitHub · craftcms/commerce