CVE-2020-26223
MEDIUM 6.5CVSS 3.1Authorization bypass in Spree
Spree is a complete open source e-commerce solution built with Ruby on Rails. In Spree from version 3.7 and before versions 3.7.13, 4.0.5, and 4.1.12, there is an authorization bypass vulnerability. The perpetrator could query the API v2 Order Status endpoint with an empty string passed as an Order token. This is patched in versions 3.7.11, 4.0.4, or 4.1.11 depending on your used Spree version. Users of Spree < 3.7 are not affected.
- Published
- 13 Nov 2020
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-863
- Also known as
- GHSA-m2jr-hmc3-qmpr
- Sources
- NVDJSONOSV GHSA-m2jr-hmc3-qmprJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | spreecommerce | spreecpe:2.3:a:spreecommerce:spree:*:*:*:*:*:*:*:* |
>= 3.7.0, < 3.7.13 | 3.7.13 |
| NVD | spreecommerce | spreecpe:2.3:a:spreecommerce:spree:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.0.5 | 4.0.5 |
| NVD | spreecommerce | spreecpe:2.3:a:spreecommerce:spree:*:*:*:*:*:*:*:* |
>= 4.1.0, < 4.1.12 | 4.1.12 |
| OSV | RubyGems | spree_api | >= 3.7.0, < 3.7.13 | 3.7.13 |
| OSV | RubyGems | spree_api | >= 4.0.0, < 4.0.5 | 4.0.5 |
| OSV | RubyGems | spree_api | >= 4.1.0, < 4.1.12 | 4.1.12 |
References
- https://github.com/spree/spree/pull/10573 · Exploit, Patch, Third Party Advisory, WEB
- https://github.com/spree/spree/security/advisories/GHSA-m2jr-hmc3-qmpr · Third Party Advisory, WEB
- https://guides.spreecommerce.org/api/v2/storefront#tag/Order-Status · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-26223 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree_api/CVE-2020-26223.yml · WEB
- https://github.com/spree/spree · PACKAGE
- https://rubygems.org/gems/spree_api/versions · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 13 Nov 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Nov 2020)