CVE-2026-31867

Craft Commerce has a Potential IDOR in Commerce carts

MEDIUM
4.8
CVSS Score
Published: March 11, 2026 at 05:52 PM UTC
Updated: June 17, 2026 at 10:34 AM UTC
1 product affected across 1 vendorCraft Commerce

Using commerce by craftcms?

Get instant alerts when new vulnerabilities affect commerce - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.11.0v < 5.6.04.0.0 ≤ v < 4.11.05.0.0 ≤ v < 5.6.0
Affected range stops below 4.11.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.6.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

x_refsource_CONFIRMExploitPatchVendor Advisory
Source: cverecord
https://github.com/craftcms/commerce/security/advisories/GHSA-vff3-pqq8-4cpq
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/craftcms/commerce/pull/4207

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
LOW
Vector?

Quick Info

StatusANALYZED
CWE
CWE-639

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card