CVE Explorer
CVE-2026-31867
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 h
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"commerce","vendor":"craftcms","versions":[{"status":"affected","version":">= 4.0.0, < 4.11.0"},{"status":"affected","version":">= 5.0.0, < 5.6.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:14eb193a317810ee21ee1fcceadf8551fa4c3baf7daec8e2dce002fc3b033299 · sha256:297f30b74e838d9c… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.3,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:14eb193a317810ee21ee1fcceadf8551fa4c3baf7daec8e2dce002fc3b033299 · sha256:297f30b74e838d9c… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-639","description":"CWE-639: Authorization Bypass Through User-Controlled Key","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:14eb193a317810ee21ee1fcceadf8551fa4c3baf7daec8e2dce002fc3b033299 · sha256:297f30b74e838d9c… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/craftcms/commerce/pull/4207","tags":["x_refsource_MISC"],"url":"https://github.com/craftcms/commerce/pull/4207"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:14eb193a317810ee21ee1fcceadf8551fa4c3baf7daec8e2dce002fc3b033299 · sha256:297f30b74e838d9c… · /containers/cna/references/1
{"name":"https://github.com/craftcms/commerce/security/advisories/GHSA-vff3-pqq8-4cpq","tags":["x_refsource_CONFIRM"],"url":"https://github.com/craftcms/commerce/security/advisories/GHSA-vff3-pqq8-4cpq"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:14eb193a317810ee21ee1fcceadf8551fa4c3baf7daec8e2dce002fc3b033299 · sha256:297f30b74e838d9c… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.