CVE-2020-36599 — Vulnerability in omniauth — CVE Details
OmniAuth's `lib/omniauth/failure_endpoint.rb` does not escape `message_key` value
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.20%). Schedule for your next planned update.
Does your project use an affected omniauth version?
Paste your Gemfile.lock to check it for CVE-2020-36599 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
lib/omniauth/failure_endpoint.rb in OmniAuth before 1.9.2 (and before 2.0) does not escape the message_key value.
Advisory Timeline
- First published August 19, 2022 (1562 days ago).
- Last revised November 8, 2023 — 446 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install omniauth -v 2.0.0
gem install omniauth -v 1.9.2
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: RubyGems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-116Improper Encoding or EscapingMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-36599ADVISORY
- https://github.com/omniauth/omniauth/commit/43a396f181ef7d0ed2ec8291c939c95e3ed3ff00#diff-575abda9deb9b1a77bf534e898a923029b9a61e991d626db88dc6e8b34260aa2WEB
- https://github.com/omniauth/omniauthPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth/CVE-2020-36599.ymlWEB
- https://rubygems.org/gems/omniauth/versions/1.9.2WEB
Frequently Asked Questions
- What is CVE-2020-36599?
- OmniAuth's `lib/omniauth/failure_endpoint.rb` does not escape `message_key` value. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2020-36599?
- CVE-2020-36599 affects omniauth. It has a 1.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-36599 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 68% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-130001CRITICAL
Mustache for Ruby: RCE using built-in method access
- CVE-2026-122006CRITICAL
Active Storage: Possible arbitrary file write and read in image analysis
- CVE-2017-18076HIGH
Omniauth allows POST parameters to be stored in session
- CVE-2015-9284HIGH
OmniAuth Ruby gem Cross-site Request Forgery in request phase
- CVE-2026-63183MEDIUM
OmniAuth: Host Header Injection Vulnerability