CVE catalog

CVE-2026-54603

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#req

[CVE catalog]

Severity
High · CVSS 8.6CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.45% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby-oauth2sid2.0.25-1fixed
Debianruby-oauth2forky2.0.25-1fixed
Debianruby-oauth2trixie2.0.9-1vulnerable
Debianruby-oauth2bookworm1.4.4-1vulnerable
Debianruby-oauth2bookworm-security1.4.4-1+deb12u1fixed
Rubygemsoauth2Not reported2.0.22fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-oauth2sourcesid2.0.25-1not yet assignedNot reported[1143054]
Debianruby-oauth2sourceforky2.0.25-1not yet assignedNot reported[1143054]
Debianruby-oauth2sourcetrixie(unfixed)not yet assignedNot reported[1143054]
Debianruby-oauth2sourcebookworm1.4.4-1+deb12u1not yet assignedNot reported[1143054]
Rubygemsoauth2rubygemsNot reported2.0.22Not reportedNot reportedNot reported

[Debian bug #1143054]

Notes

[trixie] ruby-oauth2: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [ruby-oauth2]Affected
    Details (2)
    • 1.4.4-1 · all · bookworm

      Affected · Fixed: 1.4.4-1+deb12u1

      nvd · ruby-oauth2 · debian · bookworm; nvd · ruby-oauth2 · debian · 12

    • 1.4.4-1 · all · bookworm

      Affected · Fixed: 1.4.4-1+deb12u1

      nvd · ruby-oauth2 · debian · bookworm; nvd · ruby-oauth2 · debian · 12

[Debian 13 (Trixie)]

  • [ruby-oauth2]Affected
    Details (2)
    • 2.0.9-1 · all · trixie

      Affected

      nvd · ruby-oauth2 · debian · 13

    • 2.0.9-1 · all · trixie

      Affected

      nvd · ruby-oauth2 · debian · 13

Observed:

References