GHSL-2026-029: Insecure Direct Object Reference (IDOR) in Spree - CVE-2026-25757
An IDOR in Spree allowed unauthenticated users to view completed guest orders by order number alone, without the associated order token. An attacker with a leaked or brute-forced order ID could access guest order details, potentially disclosing PII such as names, addresses and phone numbers.
An Insecure Direct Object Reference (IDOR) vulnerability existed in the Spree eCommerce platform that allowed unauthorized access to guest order details without authentication.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The order lookup did not enforce the order token for guest orders, and the authorization check only verified the user for non-guest orders.
Impact
This issue may lead to disclosure of PII of guest users (including names, addresses and phone numbers).
What the attacker needed
Knowledge of a valid order ID; no authentication required
The fix
The vulnerability was fixed by requiring the order token for guest orders, as fixes were published for multiple Spree versions.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
An IDOR (Insecure Direct Object Reference) happens when a website lets you access someone else's data just by changing an identifier in the URL, like an order number, without checking you are allowed to see it. Here, guest orders could be viewed by anyone who knew or guessed the order number, because the extra secret token was not required. This could expose personal details like names and addresses.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.