- Home
- Vulnerabilities
- CVE-2026-111755
CVE-2026-111755
follow-redirects sensitiveHeaders regex escaping can expose credential headers
Medium
52/100
Summary
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.
Affected products and versions
Follow-redirects (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Follow redirects | Versions not specified | — | CNA (vendor or assigner) |
npm (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| follow-redirects | from 1.16.0 (included) to 1.16.1 (excluded) |
1.16.1 |
GitHub Advisory |
Fix
Upgrade — npm/follow-redirects 1.16.1official source
Source : GitHub Advisory
Workaround
No workaround provided.
Check whether you are affected
Exploit reported by sources
These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.
Timeline
- — CVE published (cve)
- — CERT-FR advisory (certfr:CERTFR-2026-AVI-1539)
- — CERT-FR advisory (certfr:CERTFR-2026-AVI-1640)
CERT-FR advisories
- CERTFR-2026-AVI-1640 — Multiples vulnérabilités dans les produits IBM (27 novembre 2026) 27 Nov 2026
- CERTFR-2026-AVI-1539 — Multiples vulnérabilités dans les produits IBM (13 novembre 2026) 13 Nov 2026
- GHSA-8r9p-f939-6h3c — follow-redirects sensitiveHeaders regex escaping can expose credential headers 20 Oct 2026
References
- https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-8r9p-f939-6h3cexploit
- https://github.com/follow-redirects/follow-redirects/commit/080a76d0e125b37bf81717368a61d5dc37aa56c8x_refsource_MISC
- https://github.com/follow-redirects/follow-redirects/releases/tag/v1.16.1x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-111755ADVISORY
- https://github.com/follow-redirects/follow-redirectsPACKAGE
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- NVD
- CVSS 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(CVSS 4.0, CNA:GitHub_M)- Weakness
- CWE-185 · Autre (CWE-185)