Auth bypass in Craftcms Commerce
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 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.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L.
EPSS exploit prediction
EPSS: 0.003 (22.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 22nd percentile — 22.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: +0.000
Affected products
- Craftcms Commerce — versions >= 4.0.0, < 4.11.0, >= 5.0.0, < 5.6.0
- Craftcms Craft Commerce
Weakness classification (CWE)
References
- github.com/craftcms/commerce/security/advisories/GHSA-vff3-pqq8-4cpq (Exploit, Patch, Vendor Advisory)
- github.com/craftcms/commerce/pull/4207 (Patch, Issue Tracking)
Frequently asked questions
- What is CVE-2026-31867?
- CVE-2026-31867 is a medium-severity vulnerability in Craftcms Commerce, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 4.8/10. Published 2026-03-11.
- How severe is CVE-2026-31867?
- Medium severity. CVSS v3 base score is 4.8 out of 10.