Spree API has Unauthenticated IDOR - Guest Address
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-639.
Summary
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 Unauthenticated Insecure Direct Object Reference (IDOR) vulnerability was identified that allows an unauthenticated attacker to access guest address information without supplying valid credentials or session cookies. This issue has been patched in versions 4.10.2, 5.0.7, 5.1.9, and 5.2.5.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| spree | spree | 5.2.0 to before 5.2.5; 5.1.0 to before 5.1.9; 5.0.0 to before 5.0.7; before 4.10.2 | 5.2.5, 5.1.9, 5.0.7, 4.10.2 | Patch available | CNA |
| — | spree_core (RubyGems) | 4.0.0 to before 4.10.2 | 4.10.2 | Patch available | GHSA-3ghg-3787-w2xr |
| — | spree_core (RubyGems) | 5.0.0 to before 5.0.7 | 5.0.7 | Patch available | GHSA-3ghg-3787-w2xr |
| — | spree_core (RubyGems) | 5.1.0 to before 5.1.9 | 5.1.9 | Patch available | GHSA-3ghg-3787-w2xr |
| — | spree_core (RubyGems) | 5.2.0 to before 5.2.5 | 5.2.5 | Patch available | GHSA-3ghg-3787-w2xr |
- spree Vendorspree Affected 5.2.0 to before 5.2.5; 5.1.0 to before 5.1.9; 5.0.0 to before 5.0.7; before 4.10.2 Fixed in 5.2.5, 5.1.9, 5.0.7, 4.10.2 Patch available CNA
- spree_core (RubyGems) Vendor— Affected 4.0.0 to before 4.10.2 Fixed in 4.10.2 Patch available GHSA-3ghg-3787-w2xr
- spree_core (RubyGems) Vendor— Affected 5.0.0 to before 5.0.7 Fixed in 5.0.7 Patch available GHSA-3ghg-3787-w2xr
- spree_core (RubyGems) Vendor— Affected 5.1.0 to before 5.1.9 Fixed in 5.1.9 Patch available GHSA-3ghg-3787-w2xr
- spree_core (RubyGems) Vendor— Affected 5.2.0 to before 5.2.5 Fixed in 5.2.5 Patch available GHSA-3ghg-3787-w2xr
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:spreecommerce:spree:*:*:*:*:*:*:*:* | before 4.10.2; 5.0.0 to before 5.0.7; 5.1.0 to before 5.1.9; 5.2.0 to before 5.2.5 | Vulnerable | spree |
- cpe:2.3:a:spreecommerce:spree:*:*:*:*:*:*:*:* Versions before 4.10.2; 5.0.0 to before 5.0.7; 5.1.0 to before 5.1.9; 5.2.0 to before 5.2.5 Vulnerable ·spree
Remediation
- Fix · CNA spree (spree) Fixed in 5.2.5, 5.1.9, 5.0.7, 4.10.2
- Fix · GHSA-3ghg-3787-w2xr spree_core (RubyGems) Fixed in 4.10.2 Advisory →
- Fix · GHSA-3ghg-3787-w2xr spree_core (RubyGems) Fixed in 5.0.7 Advisory →
- Fix · GHSA-3ghg-3787-w2xr spree_core (RubyGems) Fixed in 5.1.9 Advisory →
- Fix · GHSA-3ghg-3787-w2xr spree_core (RubyGems) Fixed in 5.2.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-22589
- 2026-10-03 Alias added: GHSA-3ghg-3787-w2xr
References
Patch 4
- https://github.com/spree/spree/commit/16067def6de8e0742d55313e83b0fbab6d2fd795
- https://github.com/spree/spree/commit/4c2bd62326fba0d846fd9e4bad2c62433829b3ad
- https://github.com/spree/spree/commit/d051925778f24436b62fa8e4a6b842c72ca80a67
- https://github.com/spree/spree/commit/e1cff4605eb15472904602aebaf8f2d04852d6ad
More Spree vulnerabilities
- TI-2011-04629 Spreecommerce < 0.50.x API RCE CVSS 4.0CRITICAL 9.3
- TI-2026-18149 Spree API has Authenticated Insecure Direct Object Reference (IDOR) via Order Modification CVSS 3.1MEDIUM 6.5
- TI-2011-04622 Spreecommerce < 0.60.2 Search Parameter RCE CVSS 4.0CRITICAL 10.0
- TI-2026-20825 Spree allows unauthenticated users can access all guest addresses CVSS 4.0HIGH 7.7
- TI-2026-20824 Unauthenticated Spree Commerce users can view completed guest orders by Order ID CVSS 4.0HIGH 7.7
- TI-2020-16044 Authorization bypass in Spree CVSS 3.1HIGH 7.7
Sources
- CVE-2026-22589 · CVE Program
- CVE-2026-22589 · NVD
- FIRST EPSS
- GHSA-3ghg-3787-w2xr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences