
CVE catalog
CVE-2026-40895
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 redirec
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.49% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-follow-redirects | sid | 1.16.1+~1.14.4-1 | fixed |
| Debian | node-follow-redirects | forky | 1.16.1+~1.14.4-1 | fixed |
| Debian | node-follow-redirects | trixie | 1.15.9+~1.14.4-1 | vulnerable |
| Debian | node-follow-redirects | bookworm | 1.15.2+~1.14.1-1 | vulnerable |
| Cpe | node-follow-redirects | Not reported | Not reported | vulnerable |
| Cpe | follow-redirects | Not reported | 1.16.0 | fixed |
| Ubuntu | node-follow-redirects | noble | 1.15.6+~1.14.4-1ubuntu0.1~esm1 | fixed |
| Npm | follow-redirects | Not reported | 1.16.0 | fixed |
| Cpe | follow-redirects | Not reported | 1.16.0 | fixed |
| Ubuntu | node-follow-redirects | pro | 1.15.9+~1.14.4-1 | vulnerable |
| Ubuntu | node-follow-redirects | pro | 1.15.11+~1.14.4-1build1 | vulnerable |
| Ubuntu | node-follow-redirects | pro | 1.15.11+~1.14.4-1ubuntu0.1~esm1 | fixed |
| Ubuntu | node-follow-redirects | pro | 1.15.9+~1.14.4-1 | vulnerable |
| Ubuntu | node-follow-redirects | pro | 1.15.11+~1.14.4-1build1 | vulnerable |
| Ubuntu | node-follow-redirects | pro | 1.15.11+~1.14.4-1ubuntu0.1~esm1 | fixed |
| Ubuntu | node-follow-redirects | 25.10 | 1.15.9+~1.14.4-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-follow-redirects | source | sid | 1.16.0+~1.14.4-1 | not yet assigned | Not reported | [1134646] |
| Debian | node-follow-redirects | source | forky | 1.16.0+~1.14.4-1 | not yet assigned | Not reported | [1134646] |
| Debian | node-follow-redirects | source | trixie | (unfixed) | not yet assigned | Not reported | [1134646] |
| Debian | node-follow-redirects | source | bookworm | (unfixed) | not yet assigned | Not reported | [1134646] |
| Cpe | follow-redirects | cpe | Not reported | 1.16.0 | Not reported | Not reported | Not reported |
| Ubuntu | node-follow-redirects | deb | noble | 1.15.6+~1.14.4-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Npm | follow-redirects | npm | Not reported | 1.16.0 | Not reported | GHSA-R4Q5-VMMM-2653 | Not reported |
| Cpe | follow-redirects | cpe | Not reported | 1.16.0 | Not reported | NVD-CVE-2026-40895 | Not reported |
| Ubuntu | node-follow-redirects | deb | pro | 1.15.11+~1.14.4-1ubuntu0.1~esm1 | Not reported | USN-8632-1 | Not reported |
| Ubuntu | node-follow-redirects | deb | pro | 1.15.11+~1.14.4-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2026-40895 | Not reported |
Notes
[trixie] node-follow-redirects: Minor issue [bookworm] node-follow-redirects: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-follow-redirects]Affected
Details (2)
1.15.2+~1.14.1-1· all · bookwormAffected
nvd · node-follow-redirects · debian · bookworm; nvd · node-follow-redirects · debian · 12
1.15.2+~1.14.1-1· all · bookwormAffected
nvd · node-follow-redirects · debian · bookworm; nvd · node-follow-redirects · debian · 12
[Debian 13 (Trixie)]
- [node-follow-redirects]Affected
Details (2)
1.15.9+~1.14.4-1· all · trixieAffected
nvd · node-follow-redirects · debian · 13
1.15.9+~1.14.4-1· all · trixieAffected
nvd · node-follow-redirects · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-40895]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-40895]
- [https://osv.dev/vulnerability/GHSA-r4q5-vmmm-2653]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-40895]
- [https://osv.dev/vulnerability/USN-8632-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-40895]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40895.json]
- [https://ubuntu.com/security/notices/USN-8632-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1654.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [Ubuntu Security Notices (USN)]