{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-54603","id":"CVE-2026-54603","title":"OAuth2::Client#request: Protocol-relative redirect Location overrides authority, leaking bearer Authorization to attacker host","description":"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.","descriptionLong":"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.","published":"2026-07-28T16:29:03.566Z","updated":"2026-10-28T02:31:03.111461845Z","reserved":"2026-06-15T19:45:23.540Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["ruby-oauth oauth2"],"affectedProducts":[{"vendor":"ruby-oauth","product":"oauth2","defaultStatus":null,"versions":[{"version":">= 0.4.0, < 2.0.22","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"oauth2","purl":"pkg:gem/oauth2","ranges":[">=0.4.0 <2.0.22"],"fixed":["2.0.22"],"advisory":"GHSA-pp92-crg2-gfv9"}],"cwes":["CWE-200","CWE-601"],"aliases":["GHSA-pp92-crg2-gfv9"],"references":[{"url":"https://github.com/ruby-oauth/oauth2/security/advisories/GHSA-pp92-crg2-gfv9","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/ruby-oauth/oauth2/commit/0f0a474f1b38453e119e660c2daca742d4378ce9","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/ruby-oauth/oauth2/releases/tag/v2.0.22","tags":["x_refsource_MISC","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2026/10/msg00014.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54603.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54603","tags":["advisory"]},{"url":"https://github.com/ruby-oauth/oauth2","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00448,"epssPercentile":0.39846,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54603","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54603","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-54603","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-pp92-crg2-gfv9","ok":true,"note":"GHSA-pp92-crg2-gfv9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54603","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}