Friday, 16 October 2026
1 agent hack today▼ 7 vs yesterday (8)

Mechanize library leaks credentials on HTTP redirects

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

Impact

Credentials leaked to attacker-controlled redirect targets through HTTP redirects to different hosts, limited to headers set manually rather than from credential stores

Our coverage

Sources

  1. github.comhttps://github.com/advisories/GHSA-2mwr-xjcg-37j7