Spree Authorization Bypass Vulnerability in Orders Controller Allowing PII Disclosure

Vulnerability

A vulnerability in the Spree e-commerce platform's OrdersController allows unauthenticated users to access completed guest orders using only the Order ID, without needing the associated order token. This oversight can lead to the unauthorized disclosure of personal identifiable information (PII) of guest users, including names, addresses, and phone numbers. The vulnerability exists in Spree versions prior to 5.0.8, 5.1.0, 5.2.7, and 5.3.2.

Impact

Exploitation of this vulnerability could result in unauthorized access to guest order details, including sensitive personal information such as names, addresses, and phone numbers.

Reproduction

To reproduce this vulnerability, create a completed guest order on a vulnerable version of Spree. After the order is placed, retrieve the Order ID from the database. Then, access the OrdersController's show action by navigating to the URL endpoint that includes the Order ID. This will bypass the token requirement and disclose the full order details, including personal information.

Remediation

Users can upgrade to Spree versions 5.0.8, 5.1.10, 5.2.7, or 5.3.2 to address this vulnerability.

Added: Feb 7, 2026, 12:15 AM
Updated: Feb 7, 2026, 12:15 AM

Vulnerability Rating

Custom Algorithm
spread
3.4
impact
2.5
exploitability
9.7
remediation
7.7
relevance
2.8
threat
6.4
urgency
2.9
incentive
8.3

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.