CVE-2026-22588
MEDIUM 6.5CVSS 3.1Spree 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.
- Published
- 8 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-639
- Also known as
- GHSA-g268-72p7-9j6j
- Sources
- NVDJSONOSV GHSA-g268-72p7-9j6jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | spreecommerce | spreecpe:2.3:a:spreecommerce:spree:*:*:*:*:*:*:*:* |
< 4.10.2 | 4.10.2 |
| NVD | spreecommerce | spreecpe:2.3:a:spreecommerce:spree:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.0.7 | 5.0.7 |
| NVD | spreecommerce | spreecpe:2.3:a:spreecommerce:spree:*:*:*:*:*:*:*:* |
>= 5.1.0, < 5.1.9 | 5.1.9 |
| NVD | spreecommerce | spreecpe:2.3:a:spreecommerce:spree:*:*:*:*:*:*:*:* |
>= 5.2.0, < 5.2.5 | 5.2.5 |
| OSV | RubyGems | spree_api | >= 3.7.0, < 4.10.2 | 4.10.2 |
| OSV | RubyGems | spree_api | >= 5.0.0, < 5.0.7 | 5.0.7 |
| OSV | RubyGems | spree_api | >= 5.1.0, < 5.1.9 | 5.1.9 |
| OSV | RubyGems | spree_api | >= 5.2.0, < 5.2.5 | 5.2.5 |
References
- https://github.com/spree/spree/commit/02acabdce2c5f14fd687335b068d901a957a7e72 · Patch, WEB
- https://github.com/spree/spree/commit/17e78a91b736b49dbea8d1bb1223c284383ee5f3 · Patch, WEB
- https://github.com/spree/spree/commit/b409c0fd327e7ce37f63238894670d07079eefe8 · Patch, WEB
- https://github.com/spree/spree/commit/d3f961c442e0015661535cbd6eb22475f76d2dc7 · Patch, WEB
- https://github.com/spree/spree/security/advisories/GHSA-g268-72p7-9j6j · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-22588 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree_api/CVE-2026-22588.yml · WEB
- https://github.com/spree/spree · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 8 Jan 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Jan 2026)