## follow-redirects array-form headers bypass cross-origin credential stripping

- 種別: advisory
- 重大度: high
- 関連技術: nodejs
- CVE: CVE-2026-111756
- 公開日時: 2026-10-20T17:58:04.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-q3jh-wrc6-jgq8)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-q3jh-wrc6-jgq8

影響: npm:follow-redirects >= 1.16.0, < 1.16.1 → 1.16.1
Summary follow-redirects removes sensitive credential headers (Authorization, Proxy-Authorization, Cookie, and any caller-declared sensitiveHeaders) before following a redirect that crosses to a different host or downgrades to a less secure protocol. The removal routine iterates the caller's headers container with for...in and matches header names against a filter. This assumes the headers container is a plain object keyed by header names. Node's underlying http.request, which follow-redirects…