PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-54603 ruby-oauth CVE debrief

A vulnerability in the OAuth2 Ruby wrapper for OAuth 2.0 and 2.1 authorization frameworks, including OpenID Connect (OIDC), allows an attacker to leak bearer Authorization headers by exploiting a protocol-relative redirect Location in OAuth2::Client#request. This issue affects versions from 0.4.0 to 2.0.21 and is fixed in version 2.0.22. The vulnerability has a high CVSS score of 8.6, indicating a significant risk to affected systems. Defenders should assess their exposure and prioritize upgrading to version 2.0.22.

Vendor
ruby-oauth
Product
oauth2
CVSS
HIGH 8.6
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-28
Original CVE updated
2026-09-09
Advisory published
2026-07-28
Advisory updated
2026-09-09

Who should care

Defenders responsible for Ruby applications using the OAuth2 library, particularly those handling authentication or authorization, should assess exposure and prioritize upgrading to version 2.0.22.

Why it matters

CVE-2026-54603 vulnerability in OAuth2 Ruby wrapper allows potential leakage of bearer Authorization headers, impacting authentication security. Defenders should verify library versions, assess exposure, and prioritize upgrading to version 2.0.22.

  • Potential leakage of sensitive authentication credentials
  • Possible unauthorized access to protected resources
  • Need for verification of OAuth2 library versions and system exposure
  • Priority on upgrading to fixed version 2.0.22

Technical summary

The OAuth2 Ruby wrapper for OAuth 2.0 and 2.1 authorization frameworks, including OpenID Connect (OIDC), is vulnerable to a protocol-relative redirect Location attack in OAuth2::Client#request. This allows an attacker to leak the bearer Authorization header by controlling the redirect host. The vulnerability affects versions from 0.4.0 to 2.0.21 and is fixed in version 2.0.22. Defenders should prioritize verifying their OAuth2 library versions and upgrading to 2.0.22 if vulnerable. The vulnerability has a high CVSS score of 8.6, indicating a significant risk to affected systems.

Defensive priority

Defenders should prioritize verifying their OAuth2 library versions and upgrading to 2.0.22 if vulnerable.

Recommended defensive actions

  • Verify OAuth2 library version and upgrade to 2.0.22 if vulnerable
  • Review and update affected systems
  • Monitor for potential exploitation attempts
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The CVE record and NVD entry provide details on the vulnerability, its impact, and the fix. However, additional information on potential exploitation or affected systems is limited. Defenders should verify library versions, assess exposure, and prioritize upgrading to version 2.0.22. The vulnerability is fixed in version 2.0.22, and defenders should review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-54603 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-54603

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-54603 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-54603

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.