CVE-2026-54603

Source
https://cve.org/CVERecord?id=CVE-2026-54603
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54603.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-54603
Aliases
Downstream
Related
Published
2026-07-28T16:29:03.566Z
Modified
2026-07-31T03:34:11.855305750Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
OAuth2::Client#request: Protocol-relative redirect Location overrides authority, leaking bearer Authorization to attacker host
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-200",
        "CWE-601"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54603.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/ruby-oauth/oauth2

Affected ranges

Type
GIT
Repo
https://github.com/ruby-oauth/oauth2
Events
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0.4.0"
        },
        {
            "fixed": "2.0.22"
        }
    ]
}

Affected versions

v0.*
v0.4.0
v0.4.1
v0.5.0
v0.5.0.rc1
v0.5.0.rc2
v0.5.1
v0.5.2
v0.6.0
v0.6.1
v0.7.0
v0.7.1
v0.8.0
v0.9.0
v0.9.1
v0.9.2
v0.9.3
v0.9.4
v1.*
v1.0.0
v2.*
v2.0.0
v2.0.0.rc1
v2.0.0.rc2
v2.0.0.rc3
v2.0.1
v2.0.10
v2.0.11
v2.0.12
v2.0.13
v2.0.14
v2.0.15
v2.0.16
v2.0.17
v2.0.18
v2.0.19
v2.0.2
v2.0.20
v2.0.21
v2.0.3
v2.0.4
v2.0.5
v2.0.6
v2.0.7
v2.0.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54603.json"