CVE-2026-111756
follow-redirects array-form headers bypass cross-origin credential stripping
Reported by github_m · Published October 20, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| opensearch-dashboards-2-fips | Chainguard | 2.19.6-r18 |
| opensearch-dashboards-2 | Chainguard | 2.19.6-r33 |
| wazuh-dashboard-fips | Chainguard | 4.14.9-r2 |
| wazuh-dashboard | Chainguard | 4.14.9-r3 |
| gitlab-rails-ce-19.3 | Chainguard | 19.3.6-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| follow-redirects | follow-redirects | >= 1.16.0, < 1.16.1 |
| chainguard | opensearch-dashboards-2-fips | 0 |
| chainguard | opensearch-dashboards-2 | 0 |
| chainguard | wazuh-dashboard-fips | 0 |
| chainguard | wazuh-dashboard | 0 |
| chainguard | gitlab-rails-ce-19.3 | 0 |
| follow-redirects | follow-redirects | 1.16.0 |
| chainguard | opensearch-dashboards-3 | 0 |
| chainguard | langfuse-fips-3 | 0 |
| chainguard | azurite | 0 |
| chainguard | redisinsight | 0 |
| wolfi | nextcloud-server-33 | 0 |
| wolfi | kubeflow-pipelines | 0 |
| chainguard | opensearch-dashboards-3-fips | 0 |
| chainguard | langfuse-fips-4 | 0 |
| wolfi | opensearch-dashboards-3 | 0 |
| chainguard | nextcloud-server-35 | 0 |
| chainguard | langfuse-3 | 0 |
| wolfi | code-server | 0 |
| chainguard | kibana-9.5 | 0 |
…and 23 more
Timeline
- Oct 20, 2026 CVE Published
- Oct 20, 2026 Coalition ESS Score
- Oct 21, 2026 EPSS Score (4 in total, the first dated here)
- Oct 30, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-111756
vulnetix vdb fixes CVE-2026-111756
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-111756/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-q3jh-wrc6-jgq8 x_refsource_CONFIRM
- https://github.com/follow-redirects/follow-redirects/commit/9865ca45490e4d0f7b6944870318408344570aff x_refsource_MISC
- https://github.com/follow-redirects/follow-redirects/releases/tag/v1.16.1 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-111756 advisory
- https://github.com/advisories/GHSA-q3jh-wrc6-jgq8 advisory