THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-4825-p4xm-pcf2 (high) — Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)

[GHSA] GHSA-4825-p4xm-pcf2 (high) — Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)

medgithub_advisoriesPublished 2026-09-22

GHSA-4825-p4xm-pcf2 Severity: high CVE: CVE-2026-94462

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

## Summary

The Store API v3 endpoint `PATCH /api/v3/store/carts/:id/associate` binds a guest cart to the authenticated caller without verifying possession of that cart. It locates the cart by prefixed ID only — `current_store.carts.where(user: [nil, current_use

Indicators of compromise

Original source: https://github.com/advisories/GHSA-4825-p4xm-pcf2