Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. oauth
  4. ›
  5. CVE-2026-54605

CVE-2026-54605: OAuth: Cross-origin token-request redirects can expose signed request metadata

July 28, 2026

When an application uses OAuth::Consumer to request OAuth 1.0 request tokens or access tokens, the token request helper follows 300..399 redirects returned by the OAuth server. In affected versions, OAuth::Consumer#token_request parses the raw Location header, follows the redirect recursively, and can mutate the consumer’s configured site when the redirect points to a different host with the same path.

The result is a cross-origin signed-request disclosure primitive: if an OAuth server token endpoint returns a redirect whose target an attacker controls, the client can re-sign the token request and send OAuth 1.0 request metadata, including the OAuth signature, nonce, timestamp, consumer key, and any request parameters included in the signature base string, to the attacker-controlled host. The same behavior can also be used as an SSRF or confused-deputy primitive because the application server follows the redirect and sends the next request from its own network position.

References

  • github.com/advisories/GHSA-prq8-7wvh-44qh
  • github.com/ruby-oauth/oauth/commit/d069dc8c4c9631947451215f07460d6cdf0caf3f
  • github.com/ruby-oauth/oauth/releases/tag/v1.1.6
  • github.com/ruby-oauth/oauth/security/advisories/GHSA-prq8-7wvh-44qh
  • nvd.nist.gov/vuln/detail/CVE-2026-54605

Code Behaviors & Features

Detect and mitigate CVE-2026-54605 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.5.5 before 1.1.6

Fixed versions

  • 1.1.6

Solution

Upgrade to version 1.1.6 or above.

Impact 7.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-346: Origin Validation Error
  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

gem/oauth/CVE-2026-54605.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:15 +0000.