CVE-2026-111755 follow-redirects sensitiveHeaders regex escaping can expose credential headers
Attackers can steal sensitive credential headers during redirects if header names contain regex metacharacters, affecting Node.js applications using follow-redirects.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-111755?
CVE-2026-111755 is a high-severity vulnerability in follow-redirects, published on 19 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2026-111755?
2 open source packages ship an affected version, including follow-redirects.
| Package | Affected | Fixed in |
|---|---|---|
follow-redirects npm | From 1.16.0 | 1.16.1 |
follow-redirects npm | From 1.16.0 | 1.16.1 |
How do I fix CVE-2026-111755?
Upgrade follow-redirects to 1.16.1 or later.
Is CVE-2026-111755 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-111755 exists.
Sources
Also known as DEBIAN-CVE-2026-111755, ECHO-6152-48e0-46fe, GHSA-8r9p-f939-6h3c, MINI-334x-px3m-5rc5, MINI-fx8c-23rx-fv92, MINI-h994-5w6g-89fr and 6 more.