oauth2 Known Vulnerabilities & Fixes
oauth2 has 1 known security vulnerability in RubyGems (Ruby). Upgrade to version 2.0.22 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.
Low Immediate Risk
No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.
Recommended safe version: 2.0.22
Upgrading to 2.0.22 or later resolves all 1 known vulnerability in oauth2. Run: gem install oauth2 -v 2.0.22
Is oauth2 in your project?
Check if you're affected and upgrade to 2.0.22 to stay secure.
Security Summary
- 1 affected version range has been identified across this advisory.
- 100% of known issue has a published fixed version.
- Remediation: gem update oauth2
Vulnerabilities
1 unique vulnerability — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details.
| CVE / GHSA | Severity | Affected | Fixed In |
|---|---|---|---|
| CVE-2026-54603 OAuth2::Client#request: Protocol-relative redirect Location overrides authority, leaking bearer Authorization to attacker host | HIGH | 0.4.0, 0.4.1, 0.5.0, 0.5.1 (+54 more) | 2.0.22 |
About This Data
Vulnerability data for oauth2 is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.
CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
Related RubyGems (Ruby) Packages
Other packages in this ecosystem, ranked by shared vulnerabilities where available.
Check Your Dependencies
Scan your project to check if you're using a vulnerable version of oauth2.