Skip to main content
EPSS 0.4%top 63%

CVE-2026-54603: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in ruby-oauth oauth2

0
High
VulnerabilityCVE-2026-54603cvecve-2026-54603cwe-200cwe-601
Published: 07/28/2026 (07/28/2026, 16:29:03 UTC)
Source: CVE Database V5
Vendor/Project: ruby-oauth
Product: oauth2

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.

CVSS v3.1

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Affected software

ruby-oauth

oauth2

Affected versions
>=0.4.0 <2.0.22

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/29/2026, 20:37:03 UTC

Technical Analysis

CVE-2026-54603 affects the ruby-oauth oauth2 library, specifically versions from 0.4.0 up to 2.0.21. The vulnerability arises when a protocol-relative redirect Location header is returned during OAuth2::Client#request, which overrides the intended request authority. As a result, the bearer Authorization header containing sensitive credentials is sent to an attacker-controlled host, leading to exposure of sensitive information (CWE-200). This issue is resolved in version 2.0.22.

Potential Impact

An attacker controlling the redirect Location can receive the bearer Authorization header, exposing sensitive credentials. This can lead to unauthorized access to protected resources. The CVSS 3.1 base score is 8.6 (high severity), reflecting network attack vector, low attack complexity, no privileges or user interaction required, scope change, and high confidentiality impact.

Mitigation Recommendations

Upgrade the ruby-oauth oauth2 library to version 2.0.22 or later, where this vulnerability is fixed. No other mitigation or temporary fix is indicated. Patch status is confirmed by the version fix information.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-15T19:45:23.540Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a68de669c2644c7f8e9c1a1

Added to database: 07/28/2026, 16:52:54 UTC

Last enriched: 07/29/2026, 20:37:03 UTC

Last updated: 09/12/2026, 22:01:34 UTC

Views: 58

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses