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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
follow-redirects follow-redirects
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Follow Redirects是follow-redirects开源的一个自动遵循 Http(s) 重定向的 Node.js 模块。 Follow Redirects 1.16.0之前版本存在信息泄露漏洞,该漏洞源于HTTP请求遵循跨域重定向时,仅剥离授权、代理授权和Cookie标头,可能导致自定义身份验证标头被转发到重定向目标。

CVSS 6.9 · Medium EPSS 0.82% · P56

Affected Version Matrix 1

VendorProduct Version RangeStatus
follow-redirects follow-redirects < 1.16.0 affected
Get alerts for future matching vulnerabilities Log 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: CVE Program / CVE List V5
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: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
信息暴露
Source: CVE Program / CVE List V5
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

Vendor Product Affected Versions CPE Subscribe
follow-redirects follow-redirects < 1.16.0 -

II. Public POCs for CVE-2026-40895

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40895

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-40895 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-40895

No comments yet


Leave a comment