Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-25757

CVE-2026-25757: Spree Information Disclosure Vulnerability

CVE-2026-25757 is an information disclosure flaw in Spree e-commerce platform allowing unauthenticated users to access guest order data and PII. This article covers the technical details, affected versions, and patches.

Published: February 13, 2026

CVE-2026-25757 Overview

CVE-2026-25757 is a critical Insecure Direct Object Reference (IDOR) vulnerability in Spree, an open source e-commerce solution built with Ruby on Rails. This vulnerability allows unauthenticated users to view completed guest orders by simply knowing or guessing the Order ID, leading to unauthorized disclosure of personally identifiable information (PII) belonging to guest users.

The vulnerability exists in the orders controller where insufficient authorization checks allow direct access to order details without proper authentication. This represents a significant privacy concern for e-commerce platforms running vulnerable Spree versions, as attackers can enumerate order IDs to harvest customer data including names, addresses, and phone numbers.

Critical Impact

Unauthenticated attackers can access guest order data containing PII (names, addresses, phone numbers) by enumerating Order IDs, potentially affecting all guest customers who have completed orders on affected Spree installations.

Affected Products

  • Spree versions prior to 5.0.8
  • Spree versions prior to 5.1.10
  • Spree versions prior to 5.2.7
  • Spree versions prior to 5.3.2

Discovery Timeline

  • 2026-02-06 - CVE-2026-25757 published to NVD
  • 2026-02-09 - Last updated in NVD database

Technical Details for CVE-2026-25757

Vulnerability Analysis

This vulnerability is classified as CWE-639: Authorization Bypass Through User-Controlled Key, commonly known as an Insecure Direct Object Reference (IDOR). The flaw exists in the orders_controller.rb where the show action fails to properly validate that the requesting user has authorization to view the requested order.

In the vulnerable implementation, the controller retrieves order information based on the Order ID provided in the request parameters but does not enforce proper access controls. While the code checks if an order exists and performs some form of authorization via an authorize_access method, this check was insufficient to prevent unauthorized access to guest orders.

The order number generator in Spree creates predictable order identifiers, making enumeration attacks feasible. An attacker can iterate through order numbers and successfully retrieve order details for any completed guest order without authentication.

Root Cause

The root cause lies in the inadequate authorization logic within the Spree::OrdersController#show action. The original code performed a combined check using @order.blank? || !authorize_access, but this approach failed to properly enforce authorization through the CanCan authorization framework. The vulnerability allowed requests without proper authentication tokens to bypass access controls and retrieve sensitive order information.

Additionally, the order_status_controller.rb had a related issue where it only checked for blank order numbers but did not require email verification, allowing attackers to look up orders without the associated email address.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Identifying the pattern of order IDs used by the target Spree installation
  2. Crafting HTTP GET requests to /orders/:id endpoints with enumerated order IDs
  3. Receiving order details including customer PII without any authentication
ruby
# Security patch in storefront/app/controllers/spree/orders_controller.rb
# Source: https://github.com/spree/spree/commit/3e00be64c128ef4bd4b99731f0c3ab469509cfab

    before_action :assign_order_with_lock, only: :update

+    rescue_from CanCan::AccessDenied do |exception|
+      raise ActiveRecord::RecordNotFound
+    end
+
     # GET /orders/:id
     def show
       @order = complete_order_finder.new(number: params[:id], token: params[:token], store: current_store).execute.first

-      raise ActiveRecord::RecordNotFound if @order.blank? || !authorize_access
+      raise ActiveRecord::RecordNotFound if @order.blank?
+
+      authorize! :show, @order, params[:token]

       @shipments = @order.shipments.includes(:stock_location, :address, selected_shipping_rate: :shipping_method, inventory_units: :line_item)
     end

The patch introduces proper CanCan authorization with authorize! :show, @order, params[:token], ensuring that only users with valid tokens can access order information.

Detection Methods for CVE-2026-25757

Indicators of Compromise

  • Unusual volume of GET requests to /orders/* endpoints from single IP addresses or user agents
  • Sequential or patterned order ID access attempts in web server logs
  • Access to order endpoints without corresponding session cookies or authentication tokens
  • Rapid enumeration of order IDs in access logs showing 200 OK responses

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block order ID enumeration attempts
  • Configure rate limiting on /orders/* endpoints to prevent high-volume enumeration attacks
  • Enable detailed access logging for order-related endpoints and monitor for suspicious patterns
  • Deploy anomaly detection to identify unusual access patterns to customer data endpoints

Monitoring Recommendations

  • Monitor application logs for order lookups without associated authentication tokens
  • Set up alerts for high-frequency access to order endpoints from single sources
  • Review access patterns to identify potential data harvesting activities
  • Implement real-time monitoring for unusual geographic access patterns to order data

How to Mitigate CVE-2026-25757

Immediate Actions Required

  • Upgrade Spree to patched versions: 5.0.8, 5.1.10, 5.2.7, or 5.3.2 immediately
  • Review access logs to identify potential exploitation attempts prior to patching
  • Notify affected customers if unauthorized access to their order data is suspected
  • Implement additional access controls at the network or WAF level as a defense-in-depth measure

Patch Information

Security patches have been released across all supported Spree version branches. The fixes implement proper CanCan authorization checks and require both order number and email for order status lookups. Apply the appropriate patch based on your Spree version:

Version BranchPatched VersionCommit Reference
5.0.x5.0.8ea4a5db5
5.1.x5.1.106f6b8a7a
5.2.x5.2.76b32ed7d
5.3.x5.3.23e00be64

For additional details, refer to the GitHub Security Advisory GHSA-p6pv-q7rc-g4h9.

Workarounds

  • Implement WAF rules to require authentication for all /orders/* endpoints until patching is possible
  • Add rate limiting at the reverse proxy or load balancer level to slow enumeration attempts
  • Temporarily disable guest checkout functionality if exposure of guest order data is a critical concern
  • Deploy network-level access controls to restrict order endpoint access to known IP ranges
ruby
# Temporary workaround: Add email requirement to order status controller
# In storefront/app/controllers/spree/order_status_controller.rb

def create
  raise ActiveRecord::RecordNotFound if params[:number].blank? || params[:email].blank?
  
  @order = order_finder.new(number: params[:number], email: params[:email], store: current_store).execute.first
  # ... rest of implementation
end

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechSpree

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/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
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-639
  • Technical References
  • GitHub Spree Orders Controller

  • GitHub Spree Orders Controller

  • GitHub Spree Number Generator

  • GitHub Commit 3e00be64

  • GitHub Commit 6b32ed7d

  • GitHub Commit 6f6b8a7a

  • GitHub Commit ea4a5db5

  • GitHub Security Advisory GHSA-p6pv-q7rc-g4h9
  • Related CVEs
  • CVE-2026-25758: Spree Commerce Auth Bypass Vulnerability

  • CVE-2026-22589: Spree Commerce Auth Bypass Vulnerability

  • CVE-2026-22588: Spree Commerce Auth Bypass 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