# CVE-2026-31867: Craft Commerce: Potential IDOR in Commerce carts

Source: https://junglewise.ai/threats/cve-2026-31867-craft-commerce-potential-idor-in-commerce-carts  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-03-10  
License: CC BY 4.0 with a link back

CVE-2026-31867 · Severity: medium · CVSS 4 · Published 2026-03-10

Craft Commerce: Potential IDOR in Commerce carts

Technologies: [craftcms/commerce (Packagist)](https://junglewise.ai/threats/technologies/craftcms-commerce). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2026-31867 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-31867 being exploited in the wild.

**How severe is CVE-2026-31867?** Medium severity, with a CVSS score of 4, published 10 March 2026.

**Which products and versions are affected?** craftcms/commerce (Packagist) ECOSYSTEM:introduced=5.0.0,fixed=5.6.0.

**Is there a fix for CVE-2026-31867?** Yes. craftcms/commerce (Packagist): upgrade to 5.6.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-31867?** Check whether you run craftcms/commerce (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- craftcms/commerce (Packagist): upgrade to 5.6.0 or later

  ```sh
  composer require craftcms/commerce:^5.6.0
  ```


## Affected products

- craftcms/commerce (Packagist) ECOSYSTEM:introduced=5.0.0,fixed=5.6.0

## Identifiers

- CVE-2026-31867
- GHSA-vff3-pqq8-4cpq

## Related threats

- [Craft CMS Craft Commerce coupon brute-force via rate limit bypass](https://junglewise.ai/threats/cve-2026-55795-craft-cms-craft-commerce-coupon-brute-force-via-rate-limit-bypass)
- [Craft CMS Commerce SQL injection in Product and Variant queries](https://junglewise.ai/threats/cve-2026-32272-craft-cms-commerce-sql-injection-in-product-and-variant-queries)
- [Craft CMS Commerce SQL injection and RCE in TotalRevenue widget](https://junglewise.ai/threats/cve-2026-32271-craft-cms-commerce-sql-injection-and-rce-in-totalrevenue-widget)
- [Craft CMS Craft Commerce information disclosure in PaymentsController](https://junglewise.ai/threats/cve-2026-32270-craft-cms-craft-commerce-information-disclosure-in)
- [Craft Commerce has stored XSS in Craft Commerce Order Details Slideout](https://junglewise.ai/threats/cve-2026-29177-craft-commerce-has-stored-xss-in-craft-commerce-order-details)
