THREAT OPS › Threat News › [GHSA] GHSA-2mwr-xjcg-37j7 (medium) — Mechanize sends credential headers to another host after an HTTP redirect
[GHSA] GHSA-2mwr-xjcg-37j7 (medium) — Mechanize sends credential headers to another host after an HTTP redirect
GHSA-2mwr-xjcg-37j7 Severity: medium CVE: CVE-2026-107715
Mechanize sends credential headers to another host after an HTTP redirect
## Summary
`mechanize` leaked credentials to the redirect target when an HTTP redirect crossed to another host. Credentials set through `Mechanize#request_headers=` leaked even when they were `Authorization`.
## Details
Two defects, both in `lib/mechanize/http/ag
MITRE ATT&CK techniques
- CredentialsT1589.001
Indicators of compromise
- CVE-2026-107715cve
- https://example.test/redirects-to-attackerurl
Original source: https://github.com/advisories/GHSA-2mwr-xjcg-37j7