Vulnerability · Published Sep 22, 2026 · Assigned by GitHub_M

CVE-2026-94462Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)

High 7.1

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 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.4%top 67.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Spree is an open source e-commerce solution built with Ruby on Rails. From 5.4.0 until 5.4.4 and 5.5.4, PATCH /api/v3/store/carts/:id/associate in Spree::Api::V3::Store::CartsController#associate uses find_cart_for_association to locate a cart by prefixed_id but does not require a cart token or otherwise verify possession of the selected guest cart. An authenticated customer can derive reversible prefixed cart IDs, associate an eligible guest cart with the attacker's account, and receive billing and shipping address data from the cart. Exploitation requires a guest cart with address data on a store that does not require login for checkout, and reassignment can also disrupt the guest's in-progress cart. This issue is fixed in versions 5.4.4 and 5.5.4.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
RubyGemsspree_api5.4.4GHSA-4825-p4xm-pcf2
RubyGemsspree_api5.5.4GHSA-4825-p4xm-pcf2

Affected products (as reported)

VendorProductVersions
spree spree >= 5.4.0, < 5.4.4>= 5.5.0, < 5.5.4

Weakness: CWE-639 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

References