CVE-2026-40895
Last modified
CVE-2026-40895 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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). EPSS estimates a 0.49% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Follow-Redirects Project | Follow-Redirects | < 1.16.0 |
References
- https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-r4q5-vmmm-2653Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-40895?
How severe is CVE-2026-40895?
How do I fix CVE-2026-40895?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-4089The Twittee Text Tweet plugin for WordPress is vulnerable to…6.4
- CVE-2026-40890The package `github.com/gomarkdown/markdown` is a Go library…7.5
- CVE-2026-40891OpenTelemetry dotnet is a dotnet telemetry framework. From 1…5.3
- CVE-2026-40892PJSIP is a free and open source multimedia communication lib…9.8
- CVE-2026-40893Gotenberg is a Docker-powered stateless API for PDF files. P…8.2
- CVE-2026-40894OpenTelemetry dotnet is a dotnet telemetry framework. In Ope…5.3
- CVE-2026-40896OpenProject is open-source, web-based project management sof…7.1
- CVE-2026-40897Math.js is an extensive math library for JavaScript and Node…8.8
- CVE-2026-40898quic-go is an implementation of the QUIC protocol in Go. Pri…7.5
- CVE-2026-40899DataEase is an open-source data visualization and analytics …6.5
- CVE-2026-4090The Inquiry Cart plugin for WordPress is vulnerable to Cross…6.1
- CVE-2026-40900DataEase is an open-source data visualization and analytics …8.8
Are you affected by CVE-2026-40895?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
