CVE-2026-94462 Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| rubygems spree_api(RubyGems) | = 5.4.0; = 5.4.1; = 5.4.2; = 5.4.3 +6 more | 5.4.4, 5.5.4 | Fixed |
| spree | = >= 5.4.0, < 5.4.4; = >= 5.5.0, < 5.5.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems spree_api(RubyGems) | >= 5.4.0, < 5.4.4 | 5.4.4 |
| rubygems spree_api(RubyGems) | = 5.4.0 | No fix listed |
| rubygems spree_api(RubyGems) | = 5.4.1 | No fix listed |
| rubygems spree_api(RubyGems) | = 5.4.2 | No fix listed |
| rubygems spree_api(RubyGems) | = 5.4.3 | No fix listed |
| rubygems spree_api(RubyGems) | >= 5.5.0, < 5.5.4 | 5.5.4 |
| rubygems spree_api(RubyGems) | = 5.5.0 | No fix listed |
| rubygems spree_api(RubyGems) | = 5.5.1 | No fix listed |
| rubygems spree_api(RubyGems) | = 5.5.2 | No fix listed |
| rubygems spree_api(RubyGems) | = 5.5.3 | No fix listed |
| spree | = >= 5.4.0, < 5.4.4 | No fix listed |
| spree | = >= 5.5.0, < 5.5.4 | No fix listed |
References
- https://github.com/spree/spree/security/advisories/GHSA-4825-p4xm-pcf2 exploit vendor-advisory
- https://github.com/spree/spree/pull/14314 patch
- https://github.com/spree/spree/commit/8834230a1f47bb5988f23f45dbd162776cf592bd patch
- https://github.com/spree/spree/commit/af0d1a2d582a60d179de65b7d3ea024cb26426a8 patch
- github.com product
- https://github.com/spree/spree/releases/tag/v5.4.4
- https://github.com/spree/spree/releases/tag/v5.5.4
- github.com
- ENISA EUVD EUVD-2026-84794 third-party-advisory