oauth2 vulnerabilities

🔐 A Ruby wrapper for the OAuth 2.0 Authorization Framework, including the OAuth 2.1 draft spec, and OpenID Connect (OIDC)

Registry
RubyGems
Latest
2.1.0
License
MIT

1 known advisory

The latest version, 2.1.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:bundle update --conservative oauth2 # Gemfile: '>= 2.1.0'

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

Security advisories for oauth2

  • 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

Is your oauth2 version vulnerable?

Which of your client projects still run an old oauth2?

NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other RubyGems packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.