CVE•Published 2026-04-21•Modified 2026-07-30•0 articles on news•4 live references•NVD data
CVE-2026-40895Follow-redirects_project · Follow-redirects
Vulnerability data via NVD (ingested)
CVSS v3.1
7.5
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS percentile
39
Exploit Prediction Scoring System · top 61% of all CVEs
Weaknesses (CWE)
Description
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.
Timeline
Published 2026-04-21
Modified 2026-07-30
External references
Search for exposed instances
Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common).
Shodan · vuln tag0 hosts
vuln:CVE-2026-40895Hosts Shodan has explicitly fingerprinted as vulnerable.
Shodan · product
product:"Follow-redirects Project Follow-redirects"All exposed Follow-redirects Project Follow-redirects instances — cross-reference with the CVE's affected-version range.
Shodan · banner/body mention
http.html:"Follow-redirects"HTTP body or banner mentions "Follow-redirects" — catches deploys Shodan didn't identify as a product.
More intel sources (5)
Shodan report
vuln:CVE-2026-40895Country / ASN / product breakdown for the vuln query.
Censys
vulnerabilities.cve_id: CVE-2026-40895Censys host search filtered to this CVE id.
grep.app
CVE-2026-40895Public source-code mentions — fast PoC discovery.
GitHub code
CVE-2026-40895GitHub code search for direct mentions.
Google dork
"CVE-2026-40895" exploit -site:nvd.nist.govWrite-ups and news, NVD excluded.
Known PoCs on GitHub
No public proof-of-concept repositories found for CVE-2026-40895 on GitHub.
We haven't classified any articles referencing CVE-2026-40895 yet. The external references above still apply.