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.
Conclusion & alert: CVE-2026-40895 is rated Low Risk (33/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.05%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-27 | 0.04% | 0.05% | +0.01% |
| 2 | 2026-04-24 | 0.05% | 0.04% | -0.01% |
| 3 | 2026-04-22 | — | 0.05% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.9 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-40895 not yet assigned priority: Debian including 1 source packages (node-follow-redirects), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 3, resolved 2. | https://security-tracker.debian.org/tracker/CVE-2026-40895 |
ubuntu
|
medium | CVE-2026-40895 medium priority: Ubuntu including 1 source packages (node-follow-redirects), 7 status rows across 7 suites (bionic, focal, jammy, noble, questing, resolute, upstream): needs-triage 7. | https://ubuntu.com/security/CVE-2026-40895 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| follow-redirects_project | follow-redirects | < 1.16.0 | cpe:2.3:a:follow-redirects_project:follow-redirects:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-r4q5-vmmm-2653 | Mitigation Vendor Advisory |