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.
CVE-2026-40895
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 0.1%, top 82% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EPSS
- 38.5%
- KEV
- Not listed
Published
April 21, 2026
Last Modified
July 10, 2026
Advisory Details (1)
Auto-updated Jun 9, 2026Custom Authentication Headers Leaked to Cross-Domain Redirect Targets · Advisory · follow-redirects/follow-redirects · GitHub
https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-r4q5-vmmm-2653Vendor Advisories for CVE-2026-40895(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:36882Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes v2.14.3 security update
- RHSA-2026:27004Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.19.35 bug fix and security update
- RHSA-2026:27063Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.20.26 bug fix and security update
- RHSA-2026:27044Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.21.21 bug fix and security update
- RHSA-2026:26010Red Hat Product SecurityHigh
Red Hat Security Advisory: Cluster Observability Operator 1.5.0
- RHSA-2026:25273Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes v2.16.2 security update
- RHSA-2026:25271Red Hat Product SecurityHigh
Red Hat Security Advisory: multicluster engine for Kubernetes v2.11.0 General Availability
- RHSA-2026:24977Red Hat Product SecurityHigh
Red Hat Security Advisory: RHOAI 2.25.7 - Red Hat OpenShift AI
- +12 more
Patch Availability(30)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| follow-redirects | — | 1.16.0 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(15)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2026:13826IMPORTANT2026-04-21
RHSA-2026:13826 — Important
- Red HatRHSA-2026:14937IMPORTANT2026-04-21
RHSA-2026:14937 — Important
- Red HatRHSA-2026:16476IMPORTANT2026-04-21
RHSA-2026:16476 — Important
- Red HatRHSA-2026:16532IMPORTANT2026-04-21
RHSA-2026:16532 — Important
- Red HatRHSA-2026:16534IMPORTANT2026-04-21
RHSA-2026:16534 — Important
- Red HatRHSA-2026:16535IMPORTANT2026-04-21
RHSA-2026:16535 — Important
- Red HatRHSA-2026:16542IMPORTANT2026-04-21
RHSA-2026:16542 — Important
- Red HatRHSA-2026:16874IMPORTANT2026-04-21
RHSA-2026:16874 — Important
- Red HatRHSA-2026:17657IMPORTANT2026-04-21
RHSA-2026:17657 — Important
- Red HatRHSA-2026:17699IMPORTANT2026-04-21
RHSA-2026:17699 — Important
- Red HatRHSA-2026:17789IMPORTANT2026-04-21
RHSA-2026:17789 — Important
- Red HatRHSA-2026:19109IMPORTANT2026-04-21
RHSA-2026:19109 — Important
- Red HatRHSA-2026:19375IMPORTANT2026-04-21
RHSA-2026:19375 — Important
- Red HatRHSA-2026:19712IMPORTANT2026-04-21
RHSA-2026:19712 — Important
- Red HatRHSA-2026:20889IMPORTANT2026-04-21
RHSA-2026:20889 — Important
Data Freshness Timeline
(refreshed 9× in last 7d / 40× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 118 total refreshes for this CVE.
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 05:29 UTCEG score recompute
- 2026-06-15 05:29 UTCVendor advisory
- 2026-06-14 17:29 UTCEG score recompute
- 2026-06-14 17:29 UTCVendor advisory
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 05:35 UTCEG score recompute
- 2026-06-12 05:35 UTCVendor advisory
- 2026-06-11 17:34 UTCEG score recompute
- 2026-06-11 17:34 UTCVendor advisory
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 16:05 UTCEG score recompute
- 2026-06-10 16:05 UTCVendor advisory
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 04:05 UTCEG score recompute
- 2026-06-10 04:05 UTCVendor advisory
- 2026-06-09 16:05 UTCEG score recompute
- 2026-06-09 16:05 UTCVendor advisory
- 2026-06-09 04:06 UTCEG score recompute
- 2026-06-09 04:06 UTCVendor advisory
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 12:52 UTCEG score recompute
- 2026-06-08 12:52 UTCVendor advisory
- 2026-06-08 00:52 UTCEG score recompute
- 2026-06-08 00:52 UTCVendor advisory
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 12:52 UTCEG score recompute
- 2026-06-07 12:52 UTCVendor advisory
- 2026-06-07 00:53 UTCEG score recompute
- 2026-06-07 00:53 UTCVendor advisory
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 08:15 UTCEG score recompute
- 2026-06-06 08:15 UTCVendor advisory
- 2026-06-05 22:47 UTCEPSS rescore
- 2026-06-05 19:44 UTCEG score recompute
- 2026-06-05 19:44 UTCVendor advisory
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 03:47 UTCEG score recompute
- 2026-06-05 03:47 UTCVendor advisory
- 2026-06-04 14:24 UTCEG score recompute
- 2026-06-04 14:24 UTCVendor advisory
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 01:02 UTCEG score recompute
- 2026-06-04 01:02 UTCVendor advisory
- 2026-06-03 13:01 UTCEG score recompute
- 2026-06-03 13:01 UTCVendor advisory
- 2026-06-02 20:13 UTCEPSS rescore
- 2026-06-02 17:17 UTCEG score recompute
- 2026-06-02 17:17 UTCVendor advisory
- 2026-06-02 05:17 UTCEG score recompute
- 2026-06-02 05:17 UTCVendor advisory
- 2026-06-01 15:41 UTCEG score recompute
- 2026-06-01 15:41 UTCVendor advisory
- 2026-06-01 13:52 UTCEPSS rescore
- 2026-06-01 13:52 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-200 · CWE-212
Frequently asked(5)
What is CVE-2026-40895?
When was CVE-2026-40895 disclosed?
Is CVE-2026-40895 actively exploited?
What is the CVSS score of CVE-2026-40895?
How do I remediate CVE-2026-40895?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-40895
Is Your Infrastructure Affected by CVE-2026-40895?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.