CVE-2026-22588Spreecommerce Spree
Medium 6.5
Follow: this CVE · Spreecommerce · Spreecommerce Spree We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- Yes
- Published
- Jan 8, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-639
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Spree.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | spree_api |
≥ 3.7.0 < 4.10.2 |
4.10.2 |
gem "spree_api", ">= 4.10.2" |
| RubyGems | spree_api |
≥ 5.0.0 < 5.0.7 |
5.0.7 |
gem "spree_api", ">= 5.0.7" |
| RubyGems | spree_api |
≥ 5.1.0 < 5.1.9 |
5.1.9 |
gem "spree_api", ">= 5.1.9" |
| RubyGems | spree_api |
≥ 5.2.0 < 5.2.5 |
5.2.5 |
gem "spree_api", ">= 5.2.5" |
Per OSV / GitHub Advisories (GHSA-g268-72p7-9j6j). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| spreecommerce | spree | < 4.10.2 |
| spreecommerce | spree | ≥ 5.0.0 < 5.0.7 |
| spreecommerce | spree | ≥ 5.1.0 < 5.1.9 |
| spreecommerce | spree | ≥ 5.2.0 < 5.2.5 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Exploit Vendor Advisory