Read the docs
TI-2026-18149 Aliases CVE-2026-22588GHSA-g268-72p7-9j6j

Spree API has Authenticated Insecure Direct Object Reference (IDOR) via Order Modification

Priority MEDIUM 62CWE-639Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
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 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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00406 35th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed spree (spree): 5.2.5, 5.1.9, 5.0.7 +1spree_api (RubyGems): 4.10.2, 5.0.7, 5.1.9 +1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
spreespree5.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.25.2.5, 5.1.9, 5.0.7, 4.10.2Patch availableCNA
—spree_api (RubyGems)3.7.0 to before 4.10.24.10.2Patch availableGHSA-g268-72p7-9j6j
—spree_api (RubyGems)5.0.0 to before 5.0.75.0.7Patch availableGHSA-g268-72p7-9j6j
—spree_api (RubyGems)5.1.0 to before 5.1.95.1.9Patch availableGHSA-g268-72p7-9j6j
—spree_api (RubyGems)5.2.0 to before 5.2.55.2.5Patch availableGHSA-g268-72p7-9j6j
  • 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_api (RubyGems) Vendor— Affected 3.7.0 to before 4.10.2 Fixed in 4.10.2 Patch available GHSA-g268-72p7-9j6j
  • spree_api (RubyGems) Vendor— Affected 5.0.0 to before 5.0.7 Fixed in 5.0.7 Patch available GHSA-g268-72p7-9j6j
  • spree_api (RubyGems) Vendor— Affected 5.1.0 to before 5.1.9 Fixed in 5.1.9 Patch available GHSA-g268-72p7-9j6j
  • spree_api (RubyGems) Vendor— Affected 5.2.0 to before 5.2.5 Fixed in 5.2.5 Patch available GHSA-g268-72p7-9j6j

CPE configurations NVD · 1

CPEVersionsRoleVendor
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.5Vulnerablespree
  • 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-g268-72p7-9j6j spree_api (RubyGems) Fixed in 4.10.2 Advisory →
  • Fix · GHSA-g268-72p7-9j6j spree_api (RubyGems) Fixed in 5.0.7 Advisory →
  • Fix · GHSA-g268-72p7-9j6j spree_api (RubyGems) Fixed in 5.1.9 Advisory →
  • Fix · GHSA-g268-72p7-9j6j spree_api (RubyGems) Fixed in 5.2.5 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-22588
  2. 2026-10-03 Alias added: GHSA-g268-72p7-9j6j

References

  • TI-2011-04629 Spreecommerce < 0.50.x API RCE CVSS 4.0CRITICAL 9.3
  • TI-2026-18150 Spree API has Unauthenticated IDOR - Guest Address CVSS 3.1HIGH 7.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
See all 11 →

Sources