Auth bypass in Spree
CVE-2026-22588
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.
Vulnerability class: IDOR (Insecure Direct Object Reference)
EPSS: 0.004 (29.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Spree — versions >= 5.2.0, < 5.2.5, >= 5.1.0, < 5.1.9, >= 5.0.0, < 5.0.7
- Spreecommerce Spree
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-22588?
- CVE-2026-22588 is a medium-severity vulnerability in Spree, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 6.5/10. Published 2026-01-08.
- How severe is CVE-2026-22588?
- Medium severity. CVSS v3 base score is 6.5 out of 10.