{"id":"CVE-2020-26223","aliases":["CVE-2020-26223","GHSA-m2jr-hmc3-qmpr"],"related":[],"kind":"vulnerability","state":"published","title":"Authorization bypass in Spree","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nThe perpetrator could query the [API v2 Order Status](https://guides.spreecommerce.org/api/v2/storefront#tag/Order-Status) endpoint with an empty string passed as an Order token\n\n### Patches\nPlease upgrade to 3.7.11, 4.0.4, or 4.1.11 depending on your used Spree version. Users of Spree < 3.7 are not affected.\n\n### References\nPull request with a fix and in-depth explanation - https://github.com/spree/spree/pull/10573\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [security@spreecommerce.org](mailto:security@spreecommerce.org)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Spree es una completa solución e-commerce de código abierto construida con Ruby on Rails.&#xa0;En Spree desde la versión 3.7 y versiones anteriores a 3.7.13, 4.0.5 y 4.1.12, se presenta una vulnerabilidad de omisión de autorización.&#xa0;El perpetrador podría consultar el endpoint API v2 Order Status con una cadena vacía pasada como un token de pedido.&#xa0;Esto está parcheado en versiones 3.7.11, 4.0.4 o 4.1.11 dependiendo de la versión de Spree usada.&#xa0;Los usuarios de Spree versiones anteriores a 3.7 no están afectados","source":"nvd"}],"published":"2020-11-13T17:18:22.000Z","modified":"2026-09-10T03:48:36.419Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","score":4,"rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":">= 3.7.0, < 3.7.13","status":"affected"},{"version":">= 4.0.0, < 4.0.5","status":"affected"},{"version":">= 4.1.0, < 4.1.12","status":"affected"}],"vendor":"spree","product":"spree","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.7.0","status":"affected","fixed":"3.7.13"}],"ecosystem":"RubyGems","package":"spree_api","purl":"pkg:gem/spree_api","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.0.5"}],"ecosystem":"RubyGems","package":"spree_api","purl":"pkg:gem/spree_api","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.1.0","status":"affected","fixed":"4.1.12"}],"ecosystem":"RubyGems","package":"spree_api","purl":"pkg:gem/spree_api","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.7.0","fixed":"3.7.13"},{"status":"affected","introduced":"4.0.0","fixed":"4.0.5"},{"status":"affected","introduced":"4.1.0","fixed":"4.1.12"}],"vendor":"spreecommerce","product":"spree","cpe":"cpe:2.3:a:spreecommerce:spree:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/spree/spree/security/advisories/GHSA-m2jr-hmc3-qmpr","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/spree/spree/pull/10573","tags":["exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://guides.spreecommerce.org/api/v2/storefront#tag/Order-Status","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26223","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree_api/CVE-2020-26223.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/spree/spree","tags":["package"],"sources":["ghsa"]},{"url":"https://rubygems.org/gems/spree_api/versions","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-26223","url":"https://www.cve.org/CVERecord?id=CVE-2020-26223","licence":"CVE Terms of Use","modified":"2024-08-04T15:49:07.219Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m2jr-hmc3-qmpr","url":"https://github.com/advisories/GHSA-m2jr-hmc3-qmpr","licence":"CC-BY-4.0","modified":"2026-09-10T03:48:36.419Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-26223","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26223","licence":"Public domain","modified":"2026-06-17T03:07:51.423Z"}],"updatedAt":"2026-11-25T22:57:55.806Z","epss":{"score":0.01124,"percentile":0.67187,"date":"2026-12-01T12:00:22.000Z"}}