cve.bz

CVE-2026-54603 ruby-oauth oauth2: Open Redirect

8.6 highEPSS 0.4%Fix available

High (8.6) in ruby-oauth oauth2. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in oauth2 2.0.22.

On this page
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.

Severity

CVSS 3.1

8.6 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-07-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
CWE-601 URL Redirection to Untrusted Site (Open Redirect)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-54603 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-54603?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-54603?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-54603 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
ruby-oauth oauth2>= 0.4.0, < 2.0.22

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pp92-crg2-gfv9RubyGemsoauth2>=0.4.0 <2.0.222.0.22

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12ruby-oauth21.4.4-1+deb12u1DEBIAN-CVE-2026-54603 DLA-4822-1
Debian13ruby-oauth2no fix listedDEBIAN-CVE-2026-54603
Debian14ruby-oauth22.0.25-1DEBIAN-CVE-2026-54603
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 moreruby-oauth2no fix listedUBUNTU-CVE-2026-54603

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as Important because the OAuth2 Ruby wrapper, as used in Red Hat 3scale API Management Platform, can be tricked into sending bearer Authorization headers to an attacker-controlled host. This occurs when a protocol-relative redirect overrides the request authority, leading to the leakage of sensitive credentials.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel8Will not fix
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel9Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-54603.

Attack patterns (CAPEC)

  • CAPEC-178 Cross-Site Flashing Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON