Auth bypass in Spree
CVE-2026-25758
Spree is an open source e-commerce solution built with Ruby on Rails. A critical IDOR vulnerability exists in Spree Commerce's guest checkout flow that allows any guest user to bind arbitrary guest addresses to their order by manipulating address ID parameters. This enables unauthorized access to other guests' personally identifiable information (PII) including names, addresses and phone numbers. The vulnerability bypasses existing ownership validation checks and affects all guest checkout transactions. This vulnerability is fixed in 4.10.3, 5.0.8, 5.1.10, 5.2.7, and 5.3.2.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.007, 52.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Spree — versions < 4.10.3, >= 5.0.0, < 5.0.8, >= 5.1.0.beta, < 5.1.10
- Spreecommerce Spree
Weakness classification (CWE)
References
- https://github.com/spree/spree/security/advisories/GHSA-87fh-rc96-6fr6 (Exploit, Vendor Advisory)
- https://github.com/spree/spree/commit/15619618e43b367617ec8d2d4aafc5e54fa7b734 (Patch)
- https://github.com/spree/spree/commit/29282d1565ba4f7bc2bbc47d550e2c0c6d0ae59f (Patch)
- https://github.com/spree/spree/commit/6650f96356faa0d16c05bcb516f1ffd5641741b8 (Patch)
- https://github.com/spree/spree/commit/902d301ac83fd2047db1b9a3a99545162860f748 (Patch)
- https://github.com/spree/spree/commit/ff7cfcfcfe0c40c60d03317e1d0ee361c6a6b054 (Patch)
- https://github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/core/app/models/spree/order/address_book.rb#L16-L38 (Patch)
- https://github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/core/app/models/spree/order/checkout.rb#L241-L254 (Patch)
- https://github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/core/app/services/spree/checkout/update.rb#L33-L48 (Patch)
- https://github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/core/lib/spree/permitted_attributes.rb#L92-L96 (Patch)