CVE-2026-94462
published high CVSS 3.1 · 7.1Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| spree | — | spree>= 5.4.0, < 5.4.4 · >= 5.5.0, < 5.5.4 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| spree | spree | >= 5.4.0, < 5.4.4 (affected)>= 5.5.0, < 5.5.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key
References
6- https://github.com/spree/spree/commit/8834230a1f47bb5988f23f45dbd162776cf592bd
- https://github.com/spree/spree/commit/af0d1a2d582a60d179de65b7d3ea024cb26426a8
- https://github.com/spree/spree/pull/14314
- https://github.com/spree/spree/releases/tag/v5.4.4
- https://github.com/spree/spree/releases/tag/v5.5.4
- https://github.com/spree/spree/security/advisories/GHSA-4825-p4xm-pcf2
Provider assertions
2GitHub_M · cna
Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 29db9c52a5b753b9ff4937cf6898f0708e90a3fad43482a736c75f3cfd9ebfbc
- Ingested
- 23 Sep 2026, 09:41:13 UTC
- Source record
- Official CVE record