VulnerabilitiesMechanize leaked auth headers to redirect targets
A flaw in the Ruby HTTP library sent bearer tokens and cookies to other hosts after a redirect, fixed in version 2.14.1.
9 Oct 2026
The mechanize Ruby library leaked HTTP credentials to redirect targets on different hosts when credentials were set via request_headers or per-request headers, exposing bearer tokens and session cookies.
Disclosed 8 October 2026 · Record updated 9 October 2026
Credentials leaked to attacker-controlled redirect targets through HTTP redirects to different hosts, limited to headers set manually rather than from credential stores
VulnerabilitiesA flaw in the Ruby HTTP library sent bearer tokens and cookies to other hosts after a redirect, fixed in version 2.14.1.
9 Oct 2026