# CVE-2020-26223: Authorization bypass in Spree

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.12%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-11-13T17:18:22.000Z
- Modified: 2026-09-10T03:48:36.419Z
- Also known as: GHSA-m2jr-hmc3-qmpr
- Weaknesses: CWE-863
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- spree spree: >= 3.7.0, < 3.7.13; >= 4.0.0, < 4.0.5; >= 4.1.0, < 4.1.12
- spree_api (RubyGems): from 3.7.0 before 3.7.13; from 4.0.0 before 4.0.5; from 4.1.0 before 4.1.12
- spreecommerce spree: from 3.7.0 before 3.7.13; from 4.0.0 before 4.0.5; from 4.1.0 before 4.1.12

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## 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)

## Sources

- CVE List: [CVE-2020-26223](https://www.cve.org/CVERecord?id=CVE-2020-26223), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-m2jr-hmc3-qmpr](https://github.com/advisories/GHSA-m2jr-hmc3-qmpr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-26223](https://nvd.nist.gov/vuln/detail/CVE-2020-26223), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-26223 · Whole record: https://cve.day/CVE-2020-26223.json · Rebuilt by cve.day 2026-11-25T22:57:55.806Z
