CVE-2026-31867Craftcms Craft Commerce
Medium 6.3 No auth needed
Follow: this CVE · Craftcms · Craftcms Craft Commerce We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 4.0
- 6.3
- EPSS
- —
- Auth required
- No
- Published
- Mar 11, 2026
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-639
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Craft Commerce.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | craftcms/commerce |
≥ 5.0.0 < 5.6.0 |
5.6.0 |
composer require "craftcms/commerce:^5.6.0" |
| Packagist | craftcms/commerce |
≥ 4.0.0 < 4.11.0 |
4.11.0 |
composer require "craftcms/commerce:^4.11.0" |
Per OSV / GitHub Advisories (GHSA-vff3-pqq8-4cpq). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| craftcms | craft_commerce | ≥ 4.0.0 < 4.11.0 |
| craftcms | craft_commerce | ≥ 5.0.0 < 5.6.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch
- github.com Exploit Patch Vendor Advisory