Auth bypass in Spree
CVE-2026-25757
Spree is an open source e-commerce solution built with Ruby on Rails. Prior to versions 5.0.8, 5.1.10, 5.2.7, and 5.3.2, unauthenticated users can view completed guest orders by Order ID. This issue may lead to disclosure of PII of guest users (including names, addresses and phone numbers). This issue has been patched in versions 5.0.8, 5.1.10, 5.2.7, and 5.3.2.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.005, 43.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Spree — versions < 5.0.8, >= 5.1.0, < 5.1.10, >= 5.2.0, < 5.2.7
- Spreecommerce Spree
Weakness classification (CWE)
References
- https://github.com/spree/spree/security/advisories/GHSA-p6pv-q7rc-g4h9 (Exploit, Vendor Advisory)
- https://github.com/spree/spree/commit/3e00be64c128ef4bd4b99731f0c3ab469509cfab (Patch)
- https://github.com/spree/spree/commit/6b32ed7d474aa55fa441990e6aa39740152aa1be (Patch)
- https://github.com/spree/spree/commit/6f6b8a7a28a8bff24a6e20eab04b4bbbdf39384d (Patch)
- https://github.com/spree/spree/commit/ea4a5db590ca753dbc986f2a4e818d9e0edfb1ad (Patch)
- https://github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/storefront/app/controllers/spree/orders_controller.rb#L14 (Patch)
- https://github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/storefront/app/controllers/spree/orders_controller.rb#L51C1-L55C8 (Patch)
- https://github.com/spree/spree/blob/a878eb4a782ce0445d218ea86fb12075b0e3d7cc/core/lib/spree/core/number_generator.rb#L45 (Patch)