The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-31867

CVE-2026-31867: Craft Commerce Auth Bypass Vulnerability

CVE-2026-31867 is an authentication bypass flaw in Craft Commerce that allows attackers to hijack shopping carts via IDOR. This article covers the technical details, affected versions, impact, and mitigation strategies.

Published: March 13, 2026

CVE-2026-31867 Overview

An Insecure Direct Object Reference (IDOR) vulnerability has been identified in Craft Commerce, the ecommerce platform for Craft CMS. Prior to versions 4.11.0 and 5.6.0, the cart functionality 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 without performing ownership validation, creating a significant authorization bypass issue.

Critical Impact

This vulnerability enables unauthorized takeover of shopping sessions and potential exposure of personally identifiable information (PII), including customer addresses, payment details, and order contents.

Affected Products

  • Craft Commerce versions prior to 4.11.0
  • Craft Commerce versions prior to 5.6.0
  • Craft CMS installations using vulnerable Craft Commerce plugin versions

Discovery Timeline

  • 2026-03-11 - CVE CVE-2026-31867 published to NVD
  • 2026-03-12 - Last updated in NVD database

Technical Details for CVE-2026-31867

Vulnerability Analysis

This vulnerability is classified as CWE-639: Authorization Bypass Through User-Controlled Key. The core issue stems from the CartController component accepting a user-supplied number parameter to load and modify shopping carts. The controller only verifies that the order exists and is in an incomplete state, but critically fails to validate whether the requesting user has authorization to access that specific cart.

The 32-character cart number serves as the sole identifier for cart access. While the entropy of a 32-character identifier might appear sufficient, the lack of any ownership binding means that any user who obtains or guesses a valid cart number can fully access and manipulate that shopping session.

Root Cause

The root cause is a missing authorization check in the cart loading mechanism. The application implements object-level access using a predictable or obtainable identifier without verifying that the authenticated (or anonymous) user making the request is the legitimate owner of the cart session. This represents a classic IDOR pattern where the application trusts user-supplied object references without proper access control validation.

Attack Vector

The attack vector is network-based, requiring an attacker to identify or enumerate valid 32-character cart numbers. Once a valid cart number is obtained, an attacker can:

  1. Access the victim's cart contents and view items being purchased
  2. Modify cart contents by adding, removing, or changing item quantities
  3. Extract PII associated with the cart, including shipping addresses and contact information
  4. Potentially complete purchases using stored payment information or redirect orders to attacker-controlled addresses

The vulnerability does not require authentication, as the cart number alone provides full access. Attackers could potentially obtain cart numbers through various means including referrer headers, shared URLs, browser history access, or brute-force enumeration if rate limiting is not implemented.

Detection Methods for CVE-2026-31867

Indicators of Compromise

  • Unusual patterns of cart access from different IP addresses or user agents for the same cart number
  • Rapid sequential requests to cart endpoints with incrementing or varied cart number parameters
  • Cart modifications occurring from geographic locations inconsistent with the original session
  • Customer complaints about cart contents changing unexpectedly or orders being hijacked

Detection Strategies

  • Implement logging and monitoring for cart access patterns, flagging when the same cart is accessed from multiple distinct sessions
  • Deploy web application firewall (WAF) rules to detect enumeration attempts against cart endpoints
  • Monitor for anomalous request patterns to /cart or CartController endpoints with varying number parameters
  • Correlate cart access logs with session identifiers to detect cross-session cart access attempts

Monitoring Recommendations

  • Enable detailed access logging for all cart-related controller actions
  • Set up alerts for high-frequency cart endpoint requests from single IP addresses
  • Monitor for cart hijacking indicators such as sudden changes in shipping addresses after cart population
  • Review access logs for patterns indicating automated cart number enumeration

How to Mitigate CVE-2026-31867

Immediate Actions Required

  • Upgrade Craft Commerce to version 4.11.0 or 5.6.0 or later immediately
  • Review recent cart and order activity for signs of unauthorized access or manipulation
  • Notify affected customers if any unauthorized cart access is detected
  • Consider invalidating all current cart sessions and requiring customers to rebuild carts after applying the patch

Patch Information

The vulnerability has been fixed in Craft Commerce versions 4.11.0 and 5.6.0. The fix implements proper ownership validation to ensure that only the legitimate owner of a cart can access and modify it. Organizations should upgrade to these versions or later as soon as possible.

For technical details on the fix, refer to the GitHub Pull Request and the GitHub Security Advisory.

Workarounds

  • Implement additional rate limiting on cart endpoints to slow enumeration attempts
  • Add custom middleware to validate cart ownership against session or user identifiers before processing cart requests
  • Consider adding IP-based session binding for cart access as a defense-in-depth measure
  • Deploy a WAF with rules to block suspicious patterns of cart access requests

If immediate patching is not possible, organizations should implement these workarounds while planning an expedited upgrade path. However, upgrading to the patched versions remains the only complete remediation.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechCraft Commerce

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS 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
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-639
  • Technical References
  • GitHub Pull Request

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-32272: Craft Commerce SQL Injection Vulnerability

  • CVE-2026-32271: Craft Commerce SQL Injection RCE Flaw

  • CVE-2026-32270: Craft Commerce Information Disclosure Flaw

  • CVE-2026-25483: Craft Commerce Stored XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English