
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
- Severity
- High · CVSS 8.6
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-oauth2 | sid | 2.0.25-1 | fixed |
| Debian | ruby-oauth2 | forky | 2.0.25-1 | fixed |
| Debian | ruby-oauth2 | trixie | 2.0.9-1 | vulnerable |
| Debian | ruby-oauth2 | bookworm | 1.4.4-1 | vulnerable |
| Debian | ruby-oauth2 | bookworm-security | 1.4.4-1+deb12u1 | fixed |
| Rubygems | oauth2 | Not reported | 2.0.22 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-oauth2 | source | sid | 2.0.25-1 | not yet assigned | Not reported | [1143054] |
| Debian | ruby-oauth2 | source | forky | 2.0.25-1 | not yet assigned | Not reported | [1143054] |
| Debian | ruby-oauth2 | source | trixie | (unfixed) | not yet assigned | Not reported | [1143054] |
| Debian | ruby-oauth2 | source | bookworm | 1.4.4-1+deb12u1 | not yet assigned | Not reported | [1143054] |
| Rubygems | oauth2 | rubygems | Not reported | 2.0.22 | Not reported | Not reported | Not reported |
Notes
[trixie] ruby-oauth2: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-oauth2]Affected
Details (2)
1.4.4-1· all · bookwormAffected · Fixed:
1.4.4-1+deb12u1nvd · ruby-oauth2 · debian · bookworm; nvd · ruby-oauth2 · debian · 12
1.4.4-1· all · bookwormAffected · Fixed:
1.4.4-1+deb12u1nvd · ruby-oauth2 · debian · bookworm; nvd · ruby-oauth2 · debian · 12
[Debian 13 (Trixie)]
- [ruby-oauth2]Affected
Details (2)
2.0.9-1· all · trixieAffected
nvd · ruby-oauth2 · debian · 13
2.0.9-1· all · trixieAffected
nvd · ruby-oauth2 · debian · 13
Observed:
References
- [https://github.com/advisories/GHSA-pp92-crg2-gfv9]
- [https://github.com/ruby-oauth/oauth2/commit/0f0a474f1b38453e119e660c2daca742d4378ce9]
- [https://github.com/ruby-oauth/oauth2/releases/tag/v2.0.22]
- [https://github.com/ruby-oauth/oauth2/security/advisories/GHSA-pp92-crg2-gfv9]
- [https://lists.debian.org/debian-lts-announce/2026/10/msg00014.html]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-54603]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-54603]
- [https://security-tracker.debian.org/tracker/CVE-2026-54603]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54603.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]