Debian Package Tracker
Register | Log in
Subscribe

node-follow-redirects

HTTP and HTTPS modules that follow redirects

Choose email to subscribe with

general
  • source: node-follow-redirects (main)
  • version: 1.16.1+~1.14.4-1
  • maintainer: Debian Javascript Maintainers (archive) (DMD)
  • uploaders: Pirate Praveen [DMD]
  • arch: all
  • std-ver: 4.7.4
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 1.13.1-1+deb11u1
  • oldstable: 1.15.2+~1.14.1-1
  • stable: 1.15.9+~1.14.4-1
  • testing: 1.16.0+~1.14.4-2
  • unstable: 1.16.1+~1.14.4-1
versioned links
  • 1.13.1-1+deb11u1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.15.2+~1.14.1-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.15.9+~1.14.4-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.16.0+~1.14.4-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.16.1+~1.14.4-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • node-follow-redirects
action needed
3 security issues in trixie high

There are 3 open security issues in trixie.

2 important issues:
  • CVE-2026-111755: 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.
  • CVE-2026-111756: 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.
1 issue left for the package maintainer to handle:
  • CVE-2026-40895: (needs triaging) follow-redirects is an open source, drop-in replacement for Node's `http` and `https` modules that automatically follows redirects. Prior to 1.16.0, when an HTTP request follows a cross-domain redirect (301/302/307/308), follow-redirects only strips authorization, proxy-authorization, and cookie headers (matched by regex at index.js). Any custom authentication header (e.g., X-API-Key, X-Auth-Token, Api-Key, Token) is forwarded verbatim to the redirect target. This vulnerability is fixed in 1.16.0.

You can find information about how to handle this issue in the security team's documentation.

Created: 2026-04-22 Last update: 2026-10-25 11:30
2 security issues in forky high

There are 2 open security issues in forky.

2 important issues:
  • CVE-2026-111755: 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.
  • CVE-2026-111756: 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.
Created: 2026-10-20 Last update: 2026-10-25 11:30
5 security issues in bookworm high

There are 5 open security issues in bookworm.

2 important issues:
  • CVE-2026-111755: 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.
  • CVE-2026-111756: 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.
3 issues postponed or untriaged:
  • CVE-2023-26159: (needs triaging) Versions of the package follow-redirects before 1.15.4 are vulnerable to Improper Input Validation due to the improper handling of URLs by the url.parse() function. When new URL() throws an error, it can be manipulated to misinterpret the hostname. An attacker could exploit this weakness to redirect traffic to a malicious site, potentially leading to information disclosure, phishing attacks, or other security breaches.
  • CVE-2024-28849: (needs triaging) follow-redirects is an open source, drop-in replacement for Node's `http` and `https` modules that automatically follows redirects. In affected versions follow-redirects only clears authorization header during cross-domain redirect, but keep the proxy-authentication header which contains credentials too. This vulnerability may lead to credentials leak, but has been addressed in version 1.15.6. Users are advised to upgrade. There are no known workarounds for this vulnerability.
  • CVE-2026-40895: (needs triaging) follow-redirects is an open source, drop-in replacement for Node's `http` and `https` modules that automatically follows redirects. Prior to 1.16.0, when an HTTP request follows a cross-domain redirect (301/302/307/308), follow-redirects only strips authorization, proxy-authorization, and cookie headers (matched by regex at index.js). Any custom authentication header (e.g., X-API-Key, X-Auth-Token, Api-Key, Token) is forwarded verbatim to the redirect target. This vulnerability is fixed in 1.16.0.
Created: 2026-10-20 Last update: 2026-10-25 11:30
debian/patches: 3 patches to forward upstream low

Among the 4 debian patches available in version 1.16.1+~1.14.4-1 of the package, we noticed the following issues:

  • 3 patches where the metadata indicates that the patch has not yet been forwarded upstream. You should either forward the patch upstream or update the metadata to document its real status.
Created: 2023-02-26 Last update: 2026-10-25 06:21
testing migrations
  • excuses:
    • Migration status for node-follow-redirects (1.16.0+~1.14.4-2 to 1.16.1+~1.14.4-1): Waiting for test results or another package, or too young (no action required now - check later)
    • Issues preventing migration:
    • ∙ ∙ Autopkgtest for node-axios/1.20.0-1: amd64: Pass, arm64: Pass, armhf: Pass, i386: Test triggered, ppc64el: Test triggered, riscv64: Pass, s390x: Pass
    • ∙ ∙ Autopkgtest for node-clean-css/5.3.3+~5.6.3-4: amd64: Pass, arm64: Pass, armhf: Pass, i386: Test triggered, ppc64el: Test triggered, riscv64: Pass, s390x: Pass
    • ∙ ∙ Autopkgtest for node-follow-redirects/1.16.1+~1.14.4-1: amd64: Pass, arm64: Pass, armhf: Pass, i386: Test triggered, ppc64el: Test triggered, riscv64: Pass, s390x: Pass
    • ∙ ∙ Autopkgtest for node-node-rest-client/3.1.1-2: amd64: Pass, arm64: Pass, armhf: Pass, i386: Test triggered, ppc64el: Test triggered, riscv64: Pass, s390x: Pass
    • ∙ ∙ Too young, only 1 of 5 days old
    • Additional info (not blocking):
    • ∙ ∙ Piuparts tested OK - https://piuparts.debian.org/sid/source/n/node-follow-redirects.html
    • ∙ ∙ Reproduced on amd64 - info
    • ∙ ∙ Reproduced on arm64 - info
    • ∙ ∙ Reproduced on armhf - info
    • ∙ ∙ Reproduced on i386 - info
    • Not considered
news
[rss feed]
  • [2026-10-24] Accepted node-follow-redirects 1.16.1+~1.14.4-1 (source) into unstable (Xavier Guimard)
  • [2026-05-07] node-follow-redirects 1.16.0+~1.14.4-2 MIGRATED to testing (Debian testing watch)
  • [2026-05-02] Accepted node-follow-redirects 1.16.0+~1.14.4-2 (source) into unstable (Xavier Guimard)
  • [2026-04-27] node-follow-redirects 1.16.0+~1.14.4-1 MIGRATED to testing (Debian testing watch)
  • [2026-04-24] Accepted node-follow-redirects 1.16.0+~1.14.4-1 (source) into unstable (Xavier Guimard)
  • [2026-04-02] node-follow-redirects 1.15.11+~1.14.4-2 MIGRATED to testing (Debian testing watch)
  • [2026-03-31] Accepted node-follow-redirects 1.15.11+~1.14.4-2 (source) into unstable (Xavier Guimard)
  • [2025-11-10] node-follow-redirects 1.15.11+~1.14.4-1 MIGRATED to testing (Debian testing watch)
  • [2025-11-06] Accepted node-follow-redirects 1.15.11+~1.14.4-1 (source) into unstable (Yadd) (signed by: Xavier Guimard)
  • [2024-09-29] node-follow-redirects 1.15.9+~1.14.4-1 MIGRATED to testing (Debian testing watch)
  • [2024-09-27] Accepted node-follow-redirects 1.15.9+~1.14.4-1 (source) into unstable (Yadd) (signed by: Xavier Guimard)
  • [2024-06-19] node-follow-redirects 1.15.6+~1.14.4-2 MIGRATED to testing (Debian testing watch)
  • [2024-06-10] Accepted node-follow-redirects 1.15.6+~1.14.4-2 (source) into unstable (Yadd) (signed by: Xavier Guimard)
  • [2024-04-07] node-follow-redirects 1.15.6+~1.14.4-1 MIGRATED to testing (Debian testing watch)
  • [2024-04-07] node-follow-redirects 1.15.6+~1.14.4-1 MIGRATED to testing (Debian testing watch)
  • [2024-03-18] Accepted node-follow-redirects 1.15.6+~1.14.4-1 (source) into unstable (Yadd) (signed by: Xavier Guimard)
  • [2023-10-20] node-follow-redirects 1.15.3+~1.14.2-1 MIGRATED to testing (Debian testing watch)
  • [2023-10-20] node-follow-redirects 1.15.3+~1.14.2-1 MIGRATED to testing (Debian testing watch)
  • [2023-10-17] Accepted node-follow-redirects 1.15.3+~1.14.2-1 (source) into unstable (Ananthu C V) (signed by: Praveen Arimbrathodiyil)
  • [2022-11-04] node-follow-redirects 1.15.2+~1.14.1-1 MIGRATED to testing (Debian testing watch)
  • [2022-11-01] Accepted node-follow-redirects 1.15.2+~1.14.1-1 (source) into unstable (Yadd) (signed by: Xavier Guimard)
  • [2022-07-20] node-follow-redirects 1.15.1+~1.14.1-3 MIGRATED to testing (Debian testing watch)
  • [2022-07-17] Accepted node-follow-redirects 1.15.1+~1.14.1-3 (source) into unstable (Jérémy Lal)
  • [2022-07-04] node-follow-redirects 1.15.1+~1.14.1-2 MIGRATED to testing (Debian testing watch)
  • [2022-07-02] Accepted node-follow-redirects 1.15.1+~1.14.1-2 (source) into unstable (Yadd) (signed by: Xavier Guimard)
  • [2022-06-28] Accepted node-follow-redirects 1.15.1+~1.14.1-1 (source) into experimental (Yadd) (signed by: Xavier Guimard)
  • [2022-05-05] node-follow-redirects 1.14.9+~1.14.1-3 MIGRATED to testing (Debian testing watch)
  • [2022-05-03] Accepted node-follow-redirects 1.14.9+~1.14.1-3 (source) into unstable (Yadd) (signed by: Xavier Guimard)
  • [2022-04-15] node-follow-redirects 1.14.9+~1.14.1-2 MIGRATED to testing (Debian testing watch)
  • [2022-04-13] Accepted node-follow-redirects 1.14.9+~1.14.1-2 (source) into unstable (Yadd) (signed by: Xavier Guimard)
  • 1
  • 2
bugs [bug history graph]
  • all: 1
  • RC: 0
  • I&N: 1
  • M&W: 0
  • F&P: 0
  • patch: 0
links
  • homepage
  • lintian
  • buildd: logs, reproducibility
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 1.16.0+~1.14.4-2
  • 1 bug

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing