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

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/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.28%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-22T18:57:03.854Z
- Modified: 2026-09-23T18:12:04.247Z
- Also known as: GHSA-4825-p4xm-pcf2
- 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. 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.

(As written by CVE List.)

## Affected

- spree spree: >= 5.4.0, < 5.4.4; >= 5.5.0, < 5.5.4
- spree_api (RubyGems): from 5.4.0 before 5.4.4; from 5.5.0 before 5.5.4

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://github.com/spree/spree/security/advisories/GHSA-4825-p4xm-pcf2> (exploit, web)
- <https://github.com/spree/spree/pull/14314> (web)
- <https://github.com/spree/spree/commit/8834230a1f47bb5988f23f45dbd162776cf592bd> (web)
- <https://github.com/spree/spree/commit/af0d1a2d582a60d179de65b7d3ea024cb26426a8> (web)
- <https://github.com/spree/spree/releases/tag/v5.4.4> (web)
- <https://github.com/spree/spree/releases/tag/v5.5.4> (web)
- <https://github.com/spree/spree> (package)

## Sources

- CVE List: [CVE-2026-94462](https://www.cve.org/CVERecord?id=CVE-2026-94462), CVE Terms of Use, modified 2026-09-22
- GitHub Advisory Database: [GHSA-4825-p4xm-pcf2](https://github.com/advisories/GHSA-4825-p4xm-pcf2), CC-BY-4.0, modified 2026-09-22
- NVD: [CVE-2026-94462](https://nvd.nist.gov/vuln/detail/CVE-2026-94462), Public domain, modified 2026-09-23

---

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