{"id":"CVE-2026-111756","published":"2026-10-20T17:58:21Z","modified":"2026-10-23T01:59:26Z","title":"follow-redirects array-form headers bypass cross-origin credential stripping","vendor":"follow-redirects","product":"follow-redirects","tier":"tail","description":{"text":"follow-redirects is a Node.js HTTP and HTTPS client wrapper that automatically follows redirects. From version 1.16.0 to before version 1.16.1, 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 is a drop-in replacement for, also accepts headers as an alternating array of names and values. For an array, for...in yields the numeric indices \"0\", \"1\", \"2\" and so on, which never match a header-name filter, so nothing is removed. An application that sends array-form headers and follows an attacker-controlled cross-origin redirect therefore forwards its Authorization, Cookie, and Proxy-Authorization headers verbatim to the attacker-controlled destination, with no error or warning. The sensitiveHeaders option added to fix CVE-2026-40895 / GHSA-r4q5-vmmm-2653 is equally ineffective, because it relies on the same helper. This is an unauthenticated confidentiality vulnerability: any remote server the victim application contacts can harvest the victim's credential headers by responding with a cross-origin redirect. This issue has been patched in version 1.16.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.36418,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-212","name":"Improper Removal of Sensitive Information Before Storage or Transfer"}],"references":[{"url":"https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-q3jh-wrc6-jgq8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/follow-redirects/follow-redirects/commit/9865ca45490e4d0f7b6944870318408344570aff","tags":["x_refsource_MISC"]},{"url":"https://github.com/follow-redirects/follow-redirects/releases/tag/v1.16.1","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":7.28},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"follow-redirects","affectedVersions":[{"vendor":"follow-redirects","product":"follow-redirects","versions":[">= 1.16.0, < 1.16.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-23T01:59:05.315622Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"follow-redirects","vulnerableRanges":[">=1.16.0, <1.16.1"],"patched":["1.16.1"],"from":["GHSA-q3jh-wrc6-jgq8"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-105225","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-follow-redirects-cve-2026-40895","parents":[{"from":"CVE-2026-40895","to":"CVE-2026-111756","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"The sensitiveHeaders option added to fix CVE-2026-40895 / GHSA-r4q5-vmmm-2653 is equally ineffective, because it relies on the same helper.","from":"CVE.org","in":"CVE-2026-111756"},{"kind":"version-step","provenance":"source","package":"npm:follow-redirects","fromFixed":"1.16.0","toFixed":"1.16.1","daysApart":182},{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/follow-redirects/follow-redirects/commit/9865ca45490e4d0f7b6944870318408344570aff","https://github.com/follow-redirects/follow-redirects/commit/844c4d302ac963d29bdb5dc1754ec7df3d70d7f9"],"basis":"shared file"}]}],"packageHistory":[{"cve":"CVE-2024-28849","published":"2024-03-14","fixed":"1.15.6","kev":false},{"cve":"CVE-2026-40895","published":"2026-04-21","fixed":"1.16.0","kev":false},{"cve":"CVE-2026-111755","published":"2026-10-19","fixed":"1.16.1","kev":false},{"cve":"CVE-2026-111756","published":"2026-10-20","fixed":"1.16.1","kev":false},{"cve":"CVE-2026-116689","published":"2026-10-27","fixed":"1.16.2","kev":false,"link":{"from":"CVE-2026-111756","to":"CVE-2026-116689","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:follow-redirects","fromFixed":"1.16.1","toFixed":"1.16.2","daysApart":7},{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/follow-redirects/follow-redirects/commit/9865ca45490e4d0f7b6944870318408344570aff","https://github.com/follow-redirects/follow-redirects/commit/b0a7751e9cd64cd8eeb6ec67d2f206a9cc88d3f8"],"basis":"shared file"}]}}],"package":"npm:follow-redirects"}}