CVE-2020-26223 is a medium-severity (CVSS 6.5) CWE-863 vulnerability in spree_api. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for spree_api — see the affected versions and patch details below.
Authorization bypass in Spree
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
spree_api💎spree_api💎spree_apiReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.
Description
Impact
The perpetrator could query the API v2 Order Status endpoint with an empty string passed as an Order token
Patches
Please 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.
References
Pull request with a fix and in-depth explanation - https://github.com/spree/spree/pull/10573
For more information
If you have any questions or comments about this advisory:
- Email us at [email protected]
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 💎RubyGems | spree_api | ≥ 3.7.0&&< 3.7.13 | 3.7.13bundle update spree_api --conservative |
| 💎RubyGems | spree_api | ≥ 4.0.0&&< 4.0.5 | 4.0.5bundle update spree_api --conservative |
| 💎RubyGems | spree_api | ≥ 4.1.0&&< 4.1.12 | 4.1.12bundle update spree_api --conservative |
Affected Products
spreespreecommerceResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for spree_api, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update spree_api to 3.7.13 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-26223 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is CVE-2020-26223 in your dependencies?
Find it across RubyGems, including transitive dependencies.