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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-08T20:53:37.110Z
- Modified: 2026-06-17T10:20:07.327Z
- Also known as: GHSA-g268-72p7-9j6j
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- spree spree: >= 5.2.0, < 5.2.5; >= 5.1.0, < 5.1.9; >= 5.0.0, < 5.0.7; < 4.10.2
- spree_api (RubyGems): from 3.7.0 before 4.10.2; from 5.0.0 before 5.0.7; from 5.1.0 before 5.1.9; from 5.2.0 before 5.2.5
- spreecommerce spree: before 4.10.2; from 5.0.0 before 5.0.7; from 5.1.0 before 5.1.9; from 5.2.0 before 5.2.5

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `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-9j6j> (exploit, vendor-advisory, web)
- <https://github.com/spree/spree/commit/02acabdce2c5f14fd687335b068d901a957a7e72> (patch, web)
- <https://github.com/spree/spree/commit/17e78a91b736b49dbea8d1bb1223c284383ee5f3> (patch, web)
- <https://github.com/spree/spree/commit/b409c0fd327e7ce37f63238894670d07079eefe8> (patch, web)
- <https://github.com/spree/spree/commit/d3f961c442e0015661535cbd6eb22475f76d2dc7> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-22588> (advisory)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree_api/CVE-2026-22588.yml> (web)
- <https://github.com/spree/spree> (package)

## Sources

- CVE List: [CVE-2026-22588](https://www.cve.org/CVERecord?id=CVE-2026-22588), CVE Terms of Use, modified 2026-01-08
- GitHub Advisory Database: [GHSA-g268-72p7-9j6j](https://github.com/advisories/GHSA-g268-72p7-9j6j), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2026-22588](https://nvd.nist.gov/vuln/detail/CVE-2026-22588), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-22588 · Whole record: https://cve.day/CVE-2026-22588.json · Rebuilt by cve.day 2026-11-25T22:59:12.683Z
