Is oauth2 2.0 vulnerable?

RubyGems · 27 releases from 2.0.0 to 2.0.26 · latest oauth2 is 2.1.0 · checked 18 Nov 2026

No known advisories in the last release

oauth2 2.0.26, the last 2.0 release, has no known advisories. 1 advisory affects earlier 2.0.x releases, so update to 2.0.26.

Update within 2.0:bundle update --conservative oauth2 # Gemfile: '>= 2.0.26'

Is your project on an affected oauth2?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Fixed within 2.0.x, affecting earlier releases

  • HighCVE-2026-54603GHSA-pp92-crg2-gfv928 Jul 2026

    OAuth2::Client#request: Protocol-relative redirect Location overrides authority, leaking bearer Authorization to attacker host

    Affected
    >=0.4.0 <2.0.22
    Fixed in
    2.0.22

Every oauth2 2.0.x release

Affected: 2.0.0 to 2.0.21. 2.0.22 and later are not affected. Latest oauth2: 2.1.0.

VersionKnown advisories
oauth2 2.0.26None
oauth2 2.0.25None
oauth2 2.0.24None
oauth2 2.0.23None
oauth2 2.0.22None
oauth2 2.0.21CVE-2026-54603
oauth2 2.0.20CVE-2026-54603
oauth2 2.0.19CVE-2026-54603
oauth2 2.0.18CVE-2026-54603
oauth2 2.0.17CVE-2026-54603
oauth2 2.0.16CVE-2026-54603
oauth2 2.0.15CVE-2026-54603
oauth2 2.0.14CVE-2026-54603
oauth2 2.0.13CVE-2026-54603
oauth2 2.0.12CVE-2026-54603
oauth2 2.0.11CVE-2026-54603
oauth2 2.0.10CVE-2026-54603
oauth2 2.0.9CVE-2026-54603
oauth2 2.0.8CVE-2026-54603
oauth2 2.0.7CVE-2026-54603
oauth2 2.0.6CVE-2026-54603
oauth2 2.0.5CVE-2026-54603
oauth2 2.0.4CVE-2026-54603
oauth2 2.0.3CVE-2026-54603
oauth2 2.0.2CVE-2026-54603
oauth2 2.0.1CVE-2026-54603
oauth2 2.0.0CVE-2026-54603

Which of your client projects are still on oauth2 2.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact oauth2 version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other oauth2 versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.