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.
Published: 2026-01-08
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Confidentiality breach of user address information via authenticated IDOR
Action: Apply Patch
AI Analysis

Impact

Spree, an open‑source e‑commerce platform built with Ruby on Rails, contains an authenticated Insecure Direct Object Reference that lets a user alter their own order and replace the address identifiers in the request with those belonging to another user. The backend accepts the foreign identifiers, associates the other user’s addresses with the requester’s order, and returns them in the response, exposing private address details. This flaw is a CWE‑639 type of vulnerability that compromises confidentiality of personal data.

Affected Systems

The issue affects Spree versions earlier than 4.10.2, 5.0.7, 5.1.9, and 5.2.5. Any deployment using those releases and allowing authenticated users to create or modify orders is potentially impacted. The solution is available in the released patches for each of those specific major releases.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity, while the EPSS score of less than 1 % suggests a low likelihood of exploitation at the present time. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog, reducing immediate threat. Exploitation requires valid user authentication and the ability to modify an order; no additional privileges are required. Once the attack is carried out, the attacker receives sensitive delivery address data that could be used for identity theft or targeted fraud.

Generated by OpenCVE AI on April 18, 2026 at 07:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the patched releases (Spree 4.10.2 or newer, 5.0.7 or newer, 5.1.9 or newer, 5.2.5 or newer).
  • If an upgrade cannot be performed immediately, add server‑side validation that ensures address identifiers supplied in an order modification belong to the current user, rejecting any foreign references.
  • Audit order‑modification logs for anomalous address changes and review user permissions to limit excessive order‑editing rights.

Generated by OpenCVE AI on April 18, 2026 at 07:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-g268-72p7-9j6j Spree API has Authenticated Insecure Direct Object Reference (IDOR) via Order Modification
History

Mon, 02 Feb 2026 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Spreecommerce
Spreecommerce spree
CPEs cpe:2.3:a:spreecommerce:spree:*:*:*:*:*:*:*:*
Vendors & Products Spreecommerce
Spreecommerce spree

Fri, 09 Jan 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Spree
Spree spree
Vendors & Products Spree
Spree spree

Thu, 08 Jan 2026 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 08 Jan 2026 21:00:00 +0000

Type Values Removed Values Added
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.
Title Spree API has Authenticated Insecure Direct Object Reference (IDOR) via Order Modification
Weaknesses CWE-639
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-01-08T21:08:53.049Z

Reserved: 2026-01-07T21:50:39.531Z

Link: CVE-2026-22588

cve-icon Vulnrichment

Updated: 2026-01-08T21:08:40.336Z

cve-icon NVD

Status : Analyzed

Published: 2026-01-08T21:15:44.560

Modified: 2026-02-02T16:14:33.957

Link: CVE-2026-22588

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-18T07:45:24Z

Weaknesses