CVE-2026-54603 json
OAuth2::Client#request: Protocol-relative redirect Location overrides authority, leaking bearer Authorization to attacker host
published 2026-07-28 3 mo ago modified 2026-10-23 16 d ago also GHSA-pp92-crg2-gfv9 , EUVD-2026-49903
- cvss
- 8.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems oauth2 2.0.22
- ruby-oauth2 Debian 12 1.4.4-1+deb12u1
- ruby-oauth2 Debian 14 2.0.25-1
debian advisories DEBIAN-CVE-2026-54603
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-54603 updated cvss 8.6
oauth2: OAuth2: Credential leakage via protocol-relative redirect
-
Red Hat 3scale API Management Platform 2 3scale-amp2/system-rhel8, 3scale-amp2/system-rhel9affected: workaround, no fix available, no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/ruby-oauth/oauth2/security/advisories/GHSA-pp92-crg2-gfv9 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | oauth2 | >=0.4.0, <2.0.22 |
2.0.22 |
Affected products
- ruby-oauth oauth2
Classification
References
-
github.com
/ruby-oauth/oauth2/commit/0f0a474f1b38453e119e660c2daca742d4378ce9
web
-
github.com
/ruby-oauth/oauth2/security/advisories/GHSA-pp92-crg2-gfv9
exploit, web
-
github.com
/ruby-oauth/oauth2/releases/tag/v2.0.22
web
- lists.debian.org /debian-lts-announce/2026/10/msg00014.html
-
github.com
/ruby-oauth/oauth2
package
Sources
- CVE List CVE-2026-54603
- GitHub Advisory GHSA-pp92-crg2-gfv9
- NVD CVE-2026-54603
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.