CVE-2026-22588 — Vulnerability in spree_api — CVE Details
Spree API has Authenticated Insecure Direct Object Reference (IDOR) via Order Modification
Summary
Advisory Timeline
- First published January 8, 2026 (277 days ago).
- Last revised February 3, 2026 — 25 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install spree_api -v 5.1.9
gem install spree_api -v 5.2.5
gem install spree_api -v 4.10.2
gem install spree_api -v 5.0.7
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: rubygems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-639Insecure Direct Object Reference (IDOR)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/spree/spree/security/advisories/GHSA-g268-72p7-9j6jWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-22588ADVISORY
- https://github.com/spree/spree/commit/02acabdce2c5f14fd687335b068d901a957a7e72WEB
- https://github.com/spree/spree/commit/17e78a91b736b49dbea8d1bb1223c284383ee5f3WEB
- https://github.com/spree/spree/commit/b409c0fd327e7ce37f63238894670d07079eefe8WEB
- https://github.com/spree/spree/commit/d3f961c442e0015661535cbd6eb22475f76d2dc7WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree_api/CVE-2026-22588.ymlWEB
- https://github.com/spree/spreePACKAGE
Frequently Asked Questions
- What is CVE-2026-22588?
- Spree API has Authenticated Insecure Direct Object Reference (IDOR) via Order Modification This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
- How do I check if my project is affected by CVE-2026-22588?
- CVE-2026-22588 affects spree_api. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-22588 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2026-94462HIGH
Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)
- CVE-2026-25758HIGH
Unauthenticated Spree Commerce users can access all guest addresses
- CVE-2020-26223HIGH
Authorization bypass in Spree
- CVE-2026-107715MEDIUM
Mechanize sends credential headers to another host after an HTTP redirect
- CVE-2026-107399MEDIUM
Mechanize sends credential headers to another origin after a meta refresh
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies