# CVE-2026-22588: Spree API has Authenticated Insecure Direct Object Reference (IDOR) via Order Modification

Source: https://junglewise.ai/threats/cve-2026-22588-spree-api-has-authenticated-insecure-direct-object-reference-idor  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-01-08  
License: CC BY 4.0 with a link back

CVE-2026-22588 · Severity: low · CVSS 3.1 · Published 2026-01-08

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

Technologies: [spree_api (RubyGems)](https://junglewise.ai/threats/technologies/spree-api). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2026-22588 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-22588 being exploited in the wild.

**How severe is CVE-2026-22588?** Low severity, with a CVSS score of 3.1, published 8 January 2026.

**Which products and versions are affected?** spree_api (RubyGems) ECOSYSTEM:introduced=3.7.0,fixed=4.10.2.

**Is there a fix for CVE-2026-22588?** Yes. spree_api (RubyGems): upgrade to 4.10.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-22588?** Check whether you run spree_api (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- spree_api (RubyGems): upgrade to 4.10.2 or later

  ```sh
  bundle update spree_api
  ```


## Affected products

- spree_api (RubyGems) ECOSYSTEM:introduced=3.7.0,fixed=4.10.2

## Identifiers

- CVE-2026-22588
- GHSA-g268-72p7-9j6j

## Related threats

- [Spree Store API broken access control in cart association](https://junglewise.ai/threats/cve-2026-94462-spree-store-api-broken-access-control-in-cart-association)
- [Unauthenticated Spree Commerce users can access all guest addresses](https://junglewise.ai/threats/cve-2026-25758-unauthenticated-spree-commerce-users-can-access-all-guest)
- [Authorization bypass in Spree](https://junglewise.ai/threats/cve-2020-26223-authorization-bypass-in-spree)
