Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. spree_api
  4. ›
  5. GHSA-87fh-rc96-6fr6

GHSA-87fh-rc96-6fr6: Unauthenticated Spree Commerce users can access all guest addresses

February 5, 2026

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.

References

  • github.com/advisories/GHSA-87fh-rc96-6fr6
  • github.com/spree/spree
  • github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/core/app/models/spree/order/address_book.rb
  • github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/core/app/models/spree/order/checkout.rb
  • github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/core/app/services/spree/checkout/update.rb
  • github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/core/lib/spree/permitted_attributes.rb
  • github.com/spree/spree/commit/15619618e43b367617ec8d2d4aafc5e54fa7b734
  • github.com/spree/spree/commit/29282d1565ba4f7bc2bbc47d550e2c0c6d0ae59f
  • github.com/spree/spree/commit/6650f96356faa0d16c05bcb516f1ffd5641741b8
  • github.com/spree/spree/commit/902d301ac83fd2047db1b9a3a99545162860f748
  • github.com/spree/spree/commit/ff7cfcfcfe0c40c60d03317e1d0ee361c6a6b054
  • github.com/spree/spree/security/advisories/GHSA-87fh-rc96-6fr6

Code Behaviors & Features

Detect and mitigate GHSA-87fh-rc96-6fr6 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.10.3, all versions starting from 5.0.0 before 5.0.8, all versions starting from 5.1.0 before 5.1.10, all versions starting from 5.2.0 before 5.2.7, all versions starting from 5.3.0 before 5.3.2

Fixed versions

  • 4.10.3
  • 5.0.8
  • 5.1.10
  • 5.2.7
  • 5.3.2

Solution

Upgrade to versions 4.10.3, 5.0.8, 5.1.10, 5.2.7, 5.3.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control
  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

gem/spree_api/GHSA-87fh-rc96-6fr6.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 06 Feb 2026 12:18:46 +0000.