CVEfocus › CVE database › CVE-2026-54603

CVE-2026-54603OAuth2::Client#request: Protocol-relative redirect Location overrides authority, leaking…

CVSS 8.6 HighEPSS 0.5% (higher than 34% of CVEs)Published 2026-07-28Updated 2026-10-05Assigner: GitHub_M

OAuth2 is a Ruby wrapper for the OAuth 2.0 and 2.1 authorization frameworks, including OpenID Connect (OIDC). From 0.4.0 to 2.0.21, a protocol-relative redirect Location returned to OAuth2::Client#request overrides the request authority, so the bearer Authorization header is sent to an attacker-controlled host, leaking the credential. This issue is fixed in version 2.0.22.

CWE-200CWE-601

What to do

Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
5Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10ruby-oauth2Fix pendingUBUNTU-CVE-2026-54603
Ubuntu 26.04ruby-oauth2Under investigationUBUNTU-CVE-2026-54603
Ubuntu 24.04ruby-oauth2Under investigationUBUNTU-CVE-2026-54603
Ubuntu 22.04ruby-oauth2Under investigationUBUNTU-CVE-2026-54603
Ubuntu 20.04ruby-oauth2Fix pendingUBUNTU-CVE-2026-54603
Ubuntu 18.04ruby-oauth2Fix pendingUBUNTU-CVE-2026-54603
Ubuntu 16.04ruby-oauth2Fix pendingUBUNTU-CVE-2026-54603
Debian 14ruby-oauth2Fixed2.0.25-1DEBIAN-CVE-2026-54603
Debian 13ruby-oauth2Fix pendingDEBIAN-CVE-2026-54603
Debian 12ruby-oauth2Fixed1.4.4-1+deb12u1DEBIAN-CVE-2026-54603
RubyGems libraryoauth2Fixed2.0.22GHSA-pp92-crg2-gfv9

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.