Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
6.5
CVE-2026-22588: Spree API lets logged‑in users view others' addresses
CVE-2026-22588 · published 10 months ago
Summary
If you run Spree (versions before 4.10.2, 5.0.7, 5.1.9 or 5.2.5), a signed‑in user could change the address identifier on an order they own and cause the system to return another customer’s address details. This could expose personal address information to the wrong person. Update Spree to the latest patched version to stop this behavior.
What to do
- Update ryan bigg spree_api to version 4.10.2.
- Update ryan bigg spree_api to version 5.0.7.
- Update ryan bigg spree_api to version 5.1.9.
- Update ryan bigg spree_api to version 5.2.5.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| rubygems | ryan bigg | spree_api |
>= 3.7.0, < 4.10.2 >= 5.0.0, < 5.0.7 >= 5.1.0, < 5.1.9 >= 5.2.0, < 5.2.5 Fix: upgrade to 4.10.2
|
| – | spreecommerce | spree |
< 4.10.2 >= 5.0.0, < 5.0.7 >= 5.1.0, < 5.1.9 >= 5.2.0, < 5.2.5 cpe:2.3:a:spreecommerce:spree:*:*:*:*:*:*:*:* |
Original advisory text
Spree API has Authenticated Insecure Direct Object Reference (IDOR) via Order Modification
Spree is an open source e-commerce solution built with Ruby on Rails. Prior to versions 4.10.2, 5.0.7, 5.1.9, and 5.2.5, an Authenticated Insecure Direct Object Reference (IDOR) vulnerability was identified that allows an authenticated user to retrieve other users’ address information by modifying an existing order. By editing an order they legitimately own and manipulating address identifiers in the request, the backend server accepts and processes references to addresses belonging to other users, subsequently associating those addresses with the attacker’s order and returning them in the response. This issue has been patched in versions 4.10.2, 5.0.7, 5.1.9, and 5.2.5.
References
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree_api/CVE-2026-...
- https://github.com/advisories/GHSA-g268-72p7-9j6j
- https://github.com/spree/spree/security/advisories/GHSA-g268-72p7-9j6j Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-22588 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22588... Vendor Advisory
- https://github.com/spree/spree/commit/02acabdce2c5f14fd687335b068d901a957a7e72 Patch
- https://github.com/spree/spree/commit/17e78a91b736b49dbea8d1bb1223c284383ee5f3 Patch
- https://github.com/spree/spree/commit/b409c0fd327e7ce37f63238894670d07079eefe8 Patch
- https://github.com/spree/spree/commit/d3f961c442e0015661535cbd6eb22475f76d2dc7 Patch
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-639Authorization Bypass Through User-Controlled Key
Timeline
Published8 Jan 2026
Updated4 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta