Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. spree_api
  4. ›
  5. CVE-2026-22588

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

January 8, 2026 (updated January 11, 2026)

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.

References

  • github.com/advisories/GHSA-g268-72p7-9j6j
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/spree_api/CVE-2026-22588.yml
  • github.com/spree/spree
  • github.com/spree/spree/commit/02acabdce2c5f14fd687335b068d901a957a7e72
  • github.com/spree/spree/commit/17e78a91b736b49dbea8d1bb1223c284383ee5f3
  • github.com/spree/spree/commit/b409c0fd327e7ce37f63238894670d07079eefe8
  • github.com/spree/spree/commit/d3f961c442e0015661535cbd6eb22475f76d2dc7
  • github.com/spree/spree/security/advisories/GHSA-g268-72p7-9j6j
  • nvd.nist.gov/vuln/detail/CVE-2026-22588

Code Behaviors & Features

Detect and mitigate CVE-2026-22588 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.7.0 before 4.10.2, all versions starting from 5.0.0 before 5.0.7, all versions starting from 5.1.0 before 5.1.9, all versions starting from 5.2.0 before 5.2.5

Fixed versions

  • 4.10.2
  • 5.0.7
  • 5.1.9
  • 5.2.5

Solution

Upgrade to versions 4.10.2, 5.0.7, 5.1.9, 5.2.5 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

gem/spree_api/CVE-2026-22588.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 20 Jan 2026 12:17:22 +0000.