CVE-2026-22588
published medium CVSS 3.1 · 6.5Spree API has Authenticated Insecure Direct Object Reference (IDOR) via Order Modification
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| spree | — | spree>= 5.2.0, < 5.2.5 · >= 5.1.0, < 5.1.9 · >= 5.0.0, < 5.0.7 · < 4.10.2 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| spree | spree | >= 5.2.0, < 5.2.5 (affected)>= 5.1.0, < 5.1.9 (affected)>= 5.0.0, < 5.0.7 (affected)< 4.10.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key
References
5- https://github.com/spree/spree/commit/02acabdce2c5f14fd687335b068d901a957a7e72
- https://github.com/spree/spree/commit/17e78a91b736b49dbea8d1bb1223c284383ee5f3
- https://github.com/spree/spree/commit/b409c0fd327e7ce37f63238894670d07079eefe8
- https://github.com/spree/spree/commit/d3f961c442e0015661535cbd6eb22475f76d2dc7
- https://github.com/spree/spree/security/advisories/GHSA-g268-72p7-9j6j
Provider assertions
2GitHub_M · cna
Spree API has Authenticated Insecure Direct Object Reference (IDOR) via Order Modification
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- aeae21b66c5e1f0ea9ce142cb1acc037a9f9def6cc96e5c82d0bb1051aead3f0
- Ingested
- 23 Sep 2026, 09:05:30 UTC
- Source record
- Official CVE record