Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-94462
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 11:12 UTC · Revision 1
Source evidence
Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)
core-osv · Original sourcePublished 22 Sept 2026, 18:57 UTC
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.
osv:CVE-2026-94462
Complete source record
{
"id": "be034a73bc118b9a8cc774b32d10136971d10a4c86f3378ea1a707131bbc1678",
"url": "https://osv.dev/vulnerability/CVE-2026-94462",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)",
"summary": "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.",
"evidence": "osv:CVE-2026-94462",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-94462",
"aliases": [
"CVE-2026-94462",
"GHSA-4825-p4xm-pcf2"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/spree/spree",
"type": "GIT",
"events": [
{
"introduced": "d0f1af44c1c3b67a15b9997a6428052da0e47676"
},
{
"fixed": "6859b1c31595a44f35d33b17907da919e2214429"
},
{
"introduced": "46c1d7416249256753788c011d890eae5b1fd0a9"
},
{
"fixed": "b1d20afe79c84fc3e248808200bef29c7ddf6ad8"
},
{
"fixed": "8834230a1f47bb5988f23f45dbd162776cf592bd"
},
{
"fixed": "af0d1a2d582a60d179de65b7d3ea024cb26426a8"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "5.4.0"
},
{
"fixed": "5.4.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.5.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "8834230a1f47bb5988f23f45dbd162776cf592bd"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "af0d1a2d582a60d179de65b7d3ea024cb26426a8"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "6859b1c31595a44f35d33b17907da919e2214429"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v5.4.4"
},
{
"range": [
{
"fixed": "b1d20afe79c84fc3e248808200bef29c7ddf6ad8"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v5.5.4"
}
]
}
}
],
"versions": [
"v5.4.3",
"v5.5.3",
"v5.5.2",
"v5.5.1",
"v5.5.0",
"v5.4.2",
"v5.4.1",
"@spree/sdk@1.0.1",
"@spree/sdk@1.0.0",
"v5.4.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-94462.json"
}
}
],
"modified": "2026-10-28T02:30:34.486054688Z",
"provider": "osv",
"references": [
"https://github.com/spree/spree/releases/tag/v5.4.4",
"https://github.com/spree/spree/releases/tag/v5.5.4",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/94xxx/CVE-2026-94462.json",
"https://github.com/spree/spree/security/advisories/GHSA-4825-p4xm-pcf2",
"https://nvd.nist.gov/vuln/detail/CVE-2026-94462",
"https://github.com/spree/spree/commit/8834230a1f47bb5988f23f45dbd162776cf592bd",
"https://github.com/spree/spree/commit/af0d1a2d582a60d179de65b7d3ea024cb26426a8",
"https://github.com/spree/spree/pull/14314"
],
"provider_metadata": {
"cwe_ids": [
"CWE-639"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/94xxx/CVE-2026-94462.json"
}
},
"related_cves": [
{
"value": "CVE-2026-94462",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 501963,
"published_at": "2026-09-22T18:57:03.854+00:00"
}