


Perceptive Security
SOC/SIEM Consultancy

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 L…
Published:
27 juli 2026 om 22:00:00
Alert date:
28 juli 2026 om 18:03:14
Source:
nvd.nist.gov
Identity & Access, Web Technologies, Supply Chain & Dependencies
A security vulnerability exists in the Ruby OAuth gem (versions 0.5.5 through 1.1.5) where the OAuth::Consumer#token_request method improperly handles HTTP redirect responses (300-399 status codes). The method parses the raw Location header and follows redirects recursively without proper validation. This behavior can mutate the consumer's configuration and expose sensitive signed OAuth request metadata, including the Authorization header, to cross-origin hosts. The flaw enables potential credential and token leakage to attacker-controlled servers via redirect manipulation. The vulnerability affects both OAuth 1.0 and 1.0a protocol implementations within the gem. A fix has been released in version 1.1.6 of the Ruby OAuth gem. Users are strongly advised to upgrade to mitigate the risk of authorization header exposure and cross-origin data leakage.
Technical details
Mitigation steps:
Affected products:
Ruby OAuth gem (versions 0.5.5 to 1.1.5)
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-54605
https://github.com/ruby-oauth/oauth/commit/d069dc8c4c9631947451215f07460d6cdf0caf3f
https://github.com/ruby-oauth/oauth/releases/tag/v1.1.6
https://github.com/ruby-oauth/oauth/security/advisories/GHSA-prq8-7wvh-44qh
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
