Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-40895— follow-redirects: Custom Authentication Headers Leaked to Cross-Domain Redirect Targets

EPSS 0.05% · P16
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-40895

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
follow-redirects: Custom Authentication Headers Leaked to Cross-Domain Redirect Targets
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
信息暴露
Source: NVD (National Vulnerability Database)
Vulnerability Title
Follow Redirects 信息泄露漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Follow Redirects是follow-redirects开源的一个自动遵循 Http(s) 重定向的 Node.js 模块。 Follow Redirects 1.16.0之前版本存在信息泄露漏洞,该漏洞源于HTTP请求遵循跨域重定向时,仅剥离授权、代理授权和Cookie标头,可能导致自定义身份验证标头被转发到重定向目标。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
follow-redirectsfollow-redirects < 1.16.0 -

II. Public POCs for CVE-2026-40895

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40895

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2026-40895

No comments yet


Leave a comment