Description
OAuth is a Ruby wrapper for the OAuth 1.0 and 1.0a protocols, providing clients and servers. From 0.5.5 to 1.1.5, OAuth::Consumer#token_request parses the raw Location header of a 300 to 399 redirect returned by the OAuth server and follows the redirect recursively, which can mutate the consumer's configuration and expose signed OAuth request metadata, including the Authorization header, to a cross-origin host. This issue is fixed in version 1.1.6.
Published: 2026-07-28
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OAuth is a Ruby library that implements the OAuth 1.0 and 1.0a protocols. Between versions 0.5.5 and 1.1.5 the OAuth::Consumer#token_request method parsed the raw Location header of any HTTP 3xx redirect returned by an OAuth server and automatically followed that redirect. This logic allowed the redirect URL to change the consumer's configuration and, more critically, expose the token request’s signed Authorization header to a cross‑origin host. The data exposed includes sensitive OAuth credentials that could be used to impersonate the user or access protected resources. The weakness is a case of information exposure (CWE‑200) involving untrusted redirects (CWE‑918).

Affected Systems

The vulnerability affects the ruby‑oauth library provided by the ruby‑oauth:oauth vendor. All releases from 0.5.5 through 1.1.5 are impacted. The issue was addressed in release 1.1.6, which removes the redirect‑following logic that leaked signed request metadata.

Risk and Exploitability

The CVSS score of 7.2 indicates a high severity level. The EPSS score of less than 1% suggests that the vulnerability has a low probability of exploitation in the wild, and it is not currently listed in the CISA KEV catalog. The likely attack vector is a remote attacker controlling the OAuth server or manipulating the redirect to a malicious host; the attacker would need to cause the client to process a 3xx response from the server. If successful, the attacker could capture the Authorization header and use it to forge requests on behalf of the legitimate user.

Generated by OpenCVE AI on August 3, 2026 at 14:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the ruby-oauth gem to version 1.1.6 or newer to eliminate the redirect‑following behavior that leaks signed metadata.
  • If an upgrade is not immediately possible, configure OAuth::Consumer to disable automatic redirect following for token requests.
  • Ensure the OAuth server does not issue cross‑origin redirects for token requests or enforce a same‑origin policy on redirect URLs.

Generated by OpenCVE AI on August 3, 2026 at 14:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-prq8-7wvh-44qh OAuth: Cross-origin token-request redirects can expose signed request metadata
History

Tue, 28 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Ruby-oauth
Ruby-oauth oauth
Vendors & Products Ruby-oauth
Ruby-oauth oauth

Tue, 28 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 28 Jul 2026 17:00:00 +0000

Type Values Removed Values Added
Description OAuth is a Ruby wrapper for the OAuth 1.0 and 1.0a protocols, providing clients and servers. From 0.5.5 to 1.1.5, OAuth::Consumer#token_request parses the raw Location header of a 300 to 399 redirect returned by the OAuth server and follows the redirect recursively, which can mutate the consumer's configuration and expose signed OAuth request metadata, including the Authorization header, to a cross-origin host. This issue is fixed in version 1.1.6.
Title OAuth: Cross-origin token-request redirects can expose signed request metadata
Weaknesses CWE-200
CWE-346
CWE-918
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Ruby-oauth Oauth
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-28T17:37:21.560Z

Reserved: 2026-06-15T19:45:23.540Z

Link: CVE-2026-54605

cve-icon Vulnrichment

Updated: 2026-07-28T17:37:07.602Z

cve-icon NVD

Status : Received

Published: 2026-07-28T17:16:52.367

Modified: 2026-07-28T18:17:22.090

Link: CVE-2026-54605

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T15:00:15Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-346

    Origin Validation Error

  • CWE-918

    Server-Side Request Forgery (SSRF)