Vulnerability · Published Jan 10, 2026 · Assigned by GitHub_M
CVE-2026-22589Spree API has Unauthenticated IDOR - Guest Address
High 7.5
In plain English
A high-severity authorization bypass via user-controlled key in spree from spree. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 Unauthenticated Insecure Direct Object Reference (IDOR) vulnerability was identified that allows an unauthenticated attacker to access guest address information without supplying valid credentials or session cookies. This issue has been patched in versions 4.10.2, 5.0.7, 5.1.9, and 5.2.5.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| RubyGems | spree_core | 4.10.2 | GHSA-3ghg-3787-w2xr |
| RubyGems | spree_core | 5.0.7 | GHSA-3ghg-3787-w2xr |
| RubyGems | spree_core | 5.1.9 | GHSA-3ghg-3787-w2xr |
| RubyGems | spree_core | 5.2.5 | GHSA-3ghg-3787-w2xr |
Affected products (as reported)
Weakness: CWE-639 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/spree/spree/security/advisories/GHSA-3ghg-3787-w2xr x_refsource_CONFIRM
- https://github.com/spree/spree/commit/16067def6de8e0742d55313e83b0fbab6d2fd795 x_refsource_MISC
- https://github.com/spree/spree/commit/4c2bd62326fba0d846fd9e4bad2c62433829b3ad x_refsource_MISC
- https://github.com/spree/spree/commit/d051925778f24436b62fa8e4a6b842c72ca80a67 x_refsource_MISC
- https://github.com/spree/spree/commit/e1cff4605eb15472904602aebaf8f2d04852d6ad x_refsource_MISC