Craft Commerce has a Potential IDOR in Commerce carts
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-639.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Craft CMS | commerce | 4.0.0 to before 4.11.0; 5.0.0 to before 5.6.0 | 4.11.0, 5.6.0 | Patch available | CNA |
| — | craftcms/commerce (Packagist) | 5.0.0 to before 5.6.0 | 5.6.0 | Patch available | GHSA-vff3-pqq8-4cpq |
| — | craftcms/commerce (Packagist) | 4.0.0 to before 4.11.0 | 4.11.0 | Patch available | GHSA-vff3-pqq8-4cpq |
- commerce VendorCraft CMS Affected 4.0.0 to before 4.11.0; 5.0.0 to before 5.6.0 Fixed in 4.11.0, 5.6.0 Patch available CNA
- craftcms/commerce (Packagist) Vendor— Affected 5.0.0 to before 5.6.0 Fixed in 5.6.0 Patch available GHSA-vff3-pqq8-4cpq
- craftcms/commerce (Packagist) Vendor— Affected 4.0.0 to before 4.11.0 Fixed in 4.11.0 Patch available GHSA-vff3-pqq8-4cpq
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:craftcms:craft_commerce:*:*:*:*:*:craft_cms:*:* | 4.0.0 to before 4.11.0; 5.0.0 to before 5.6.0 | Vulnerable | Craft CMS |
- cpe:2.3:a:craftcms:craft_commerce:*:*:*:*:*:craft_cms:*:* Versions 4.0.0 to before 4.11.0; 5.0.0 to before 5.6.0 Vulnerable ·Craft CMS
Remediation
- Fix · CNA commerce (craftcms) Fixed in 4.11.0, 5.6.0
- Fix · GHSA-vff3-pqq8-4cpq craftcms/commerce (Packagist) Fixed in 5.6.0 Advisory →
- Fix · GHSA-vff3-pqq8-4cpq craftcms/commerce (Packagist) Fixed in 4.11.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-31867
- 2026-10-03 Alias added: GHSA-vff3-pqq8-4cpq
References
More Craft CMS Craft Commerce vulnerabilities
- TI-2026-23289 Craft Commerce has a SQL Injection in Commerce Purchasables Table Sorting CVSS 4.0HIGH 8.7
- TI-2026-23292 Multiple Stored XSS in Commerce Inventory Page Leading to Session Hijacking CVSS 4.0HIGH 8.6
- TI-2026-20631 Craft Commerce has Stored XSS in Shipping Zone (Name & Description) Fields Leading to Potential Privilege Escalation CVSS 4.0MEDIUM 6.1
- TI-2026-20601 Craft Commerce has Stored XSS in Inventory Location Address Leading to Potential Privilege Escalation CVSS 4.0MEDIUM 6.1
- TI-2026-20600 Craft Commerce has Stored XSS in Tax Zones (Name & Description) Leading to Potential Privilege Escalation CVSS 4.0MEDIUM 6.1
- TI-2026-20599 Craft Commerce has Stored XSS in Tax Categories (Name & Description) Fields Leading to Potential Privilege Escalation CVSS 4.0MEDIUM 6.1
Sources
- CVE-2026-31867 · CVE Program
- CVE-2026-31867 · NVD
- FIRST EPSS
- GHSA-vff3-pqq8-4cpq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences