CVE-2026-111756
follow-redirects array-form headers bypass cross-origin credential stripping
Also known as GHSA-q3jh-wrc6-jgq8
Mitigation
- Upgrade follow-redirects to 1.16.1 or later.
Who should check
- Projects that depend on npm package follow-redirects (>= 1.16.0, < 1.16.1)
- Anyone running follow-redirects >= 1.16.0, < 1.16.1
Vulnerability facts
- Affected
- follow-redirects >= 1.16.0, < 1.16.1
- Fixed in
- 1.16.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.2 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.51% chance of exploitation in 30 days (percentile 36, 2026-11-26)
- CWE
- CWE-200, CWE-212
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm follow-redirects | >= 1.16.0, < 1.16.1 | 1.16.1 | osv |
| follow-redirects | >= 1.16.0, < 1.16.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-111756. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-111756.md Affected: follow-redirects >= 1.16.0, < 1.16.1 Fixed in: 1.16.1 Steps: 1. Search this machine and project for follow-redirects (npm), follow-redirects: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2026-111756 being exploited?
There is no confirmed exploitation: CVE-2026-111756 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.51% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-111756?
High: CVSS 8.2 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-111756?
follow-redirects >= 1.16.0, < 1.16.1.
Is there a fix for CVE-2026-111756?
Yes. Fixed in 1.16.1. Upgrade follow-redirects to 1.16.1 or later.
How do I check if I'm affected by CVE-2026-111756?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.