{"id":"CVE-2026-111755","published":"2026-10-19T17:27:09Z","modified":"2026-10-19T18:00:16Z","title":"follow-redirects sensitiveHeaders regex escaping can expose credential headers","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 1.16.0 until 1.16.1, escapeRegex leaves valid header-name metacharacters unescaped in sensitiveHeaders. When an application declares a sensitive header whose name contains ^ or | and follows a cross-origin or HTTPS-to-HTTP redirect, unescaped regular-expression metacharacters prevent the generated filter from matching the declared header name, and the credential header is forwarded to an attacker-controlled redirect target. This issue is fixed 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.36419,"provenance":"source"},"cwes":[{"id":"CWE-185","name":"Incorrect Regular Expression"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-8r9p-f939-6h3c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/follow-redirects/follow-redirects/commit/080a76d0e125b37bf81717368a61d5dc37aa56c8","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-19T17:59:27.677540Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"follow-redirects","vulnerableRanges":[">=1.16.0, <1.16.1"],"patched":["1.16.1"],"from":["GHSA-8r9p-f939-6h3c"],"provenance":"source"}],"summary":{"text":"The follow-redirects Node.js HTTP/HTTPS redirect-following client, in versions from 1.16.0 up to but not including 1.16.1, fails to escape regex metacharacters in header names within its sensitiveHeaders filter, so a declared sensitive header whose name contains ^ or | is not matched and is forwarded on redirect. An attacker who can induce the application to make a request that follows a cross-origin or HTTPS-to-HTTP redirect to an attacker-controlled target can capture the credential header, with no network position or authentication stated as required beyond that redirect path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:53Z"},"euvd":{"id":"EUVD-2026-104536","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-follow-redirects-cve-2026-40895","parents":[{"from":"CVE-2026-40895","to":"CVE-2026-111755","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:follow-redirects","fromFixed":"1.16.0","toFixed":"1.16.1","daysApart":181},{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/follow-redirects/follow-redirects/commit/080a76d0e125b37bf81717368a61d5dc37aa56c8","https://github.com/follow-redirects/follow-redirects/commit/844c4d302ac963d29bdb5dc1754ec7df3d70d7f9"],"basis":"shared function","functions":["isURL"]}]}],"packageHistory":[{"cve":"CVE-2023-26159","published":"2024-01-02","fixed":"1.15.4","kev":false},{"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}],"package":"npm:follow-redirects"}}