製品・ソフトウェアに関する情報
Follow Redirects projectのFollow Redirectsにおける情報漏えいに関する脆弱性
Title Follow Redirects projectのFollow Redirectsにおける情報漏えいに関する脆弱性
Summary

follow-redirectsは、Nodeの`http`および`https`モジュールのドロップイン置換として、自動的にリダイレクトを追跡するオープンソースソフトウェアです。バージョン1.16.0以前では、HTTPリクエストがクロスドメインのリダイレクト(301/302/307/308)に従う場合、follow-redirectsは認証ヘッダー、プロキシ認証ヘッダー、およびcookieヘッダーのみ(index.jsの正規表現にマッチするもの)を削除していました。カスタム認証ヘッダー(例えば、X-API-Key、X-Auth-Token、Api-Key、Token)は、そのままリダイレクト先に転送されていました。この脆弱性はバージョン1.16.0で修正されています。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 21, 2026, midnight
Registration Date April 27, 2026, 11:20 a.m.
Last Update April 27, 2026, 11:20 a.m.
CVSS3.0 : 重要
Score 7.5
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年04月27日]
  掲載
April 27, 2026, 11:20 a.m.

NVD Vulnerability Information
CVE-2026-40895
Summary

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.

Publication Date April 22, 2026, 6:16 a.m.
Registration Date April 25, 2026, 4:04 a.m.
Last Update April 24, 2026, 12:54 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:follow-redirects_project:follow-redirects:*:*:*:*:*:node.js:*:* 1.16.0
Related information, measures and tools
Common Vulnerabilities List