{"id":"UBUNTU-CVE-2026-54603","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.","modified":"2026-08-06T03:10:20.891708786Z","published":"2026-07-28T17:16:00Z","upstream":["CVE-2026-54603"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-54603"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-54603"},{"type":"REPORT","url":"https://github.com/ruby-oauth/oauth2/security/advisories/GHSA-pp92-crg2-gfv"}],"affected":[{"package":{"name":"ruby-oauth2","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-oauth2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.0-2","binary_name":"ruby-oauth2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54603.json"}},{"package":{"name":"ruby-oauth2","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-oauth2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.0-1","1.4.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-oauth2","binary_version":"1.4.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54603.json"}},{"package":{"name":"ruby-oauth2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-oauth2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-oauth2","binary_version":"1.4.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54603.json"}},{"package":{"name":"ruby-oauth2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-oauth2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-oauth2","binary_version":"1.4.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54603.json"}},{"package":{"name":"ruby-oauth2","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ruby-oauth2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.7-2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-oauth2","binary_version":"2.0.7-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54603.json"}},{"package":{"name":"ruby-oauth2","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/ruby-oauth2?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.9-1","2.0.17-1","2.0.18-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.18-1","binary_name":"ruby-oauth2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54603.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}