THREATOPS
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

highgithub_advisoriesPublished 2026-10-08

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

Indicators of compromise

Original source: https://github.com/advisories/GHSA-2mwr-xjcg-37j7