CVE-2020-36599Omniauth
Critical 9.8 No auth needed
Follow: this CVE · Omniauth · Omniauth We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 68
- Auth required
- No
- Published
- Aug 18, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-116
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
lib/omniauth/failure_endpoint.rb in OmniAuth before 1.9.2 (and before 2.0) does not escape the message_key value.
What to do
- Apply the vendor's security update for Omniauth.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | omniauth |
< 1.9.2 |
1.9.2 |
gem "omniauth", ">= 1.9.2" |
| RubyGems | omniauth |
≥ 2.0.0.pre.rc1 < 2.0.0 |
2.0.0 |
gem "omniauth", ">= 2.0.0" |
Per OSV / GitHub Advisories (GHSA-pm55-qfxr-h247). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| omniauth | omniauth | < 1.9.2 |
| omniauth | omniauth | 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- rubygems.org Product