Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-22588 EUVD-2026-1421GHSA-g268-72p7-9j6j

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

Published Jan 8, 2026 · Updated Jan 8, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
spree spree >= 5.2.0, < 5.2.5, >= 5.1.0, < 5.1.9, >= 5.0.0, < 5.0.7, < 4.10.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems spree_api >= 3.7.0, < 4.10.2 4.10.2 GHSA-g268-72p7-9j6j
RubyGems spree_api >= 5.0.0, < 5.0.7 5.0.7 GHSA-g268-72p7-9j6j
RubyGems spree_api >= 5.1.0, < 5.1.9 5.1.9 GHSA-g268-72p7-9j6j
RubyGems spree_api >= 5.2.0, < 5.2.5 5.2.5 GHSA-g268-72p7-9j6j

References