node-follow-redirects: follow-redirects is an open source, drop-in replacement for Node's `http` and `https` modules that automatically foll...
CVE-2026-40895 is fixed in node-follow-redirects on 1 platform, first by node-follow-redirects 1.2.4-1ubuntu0.18.04.1~esm2, released April 21, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| node-follow-redirects · Debian 14 | 1.16.0+~1.14.4-1 | DEBIAN-CVE-2026-40895 | May 15, 2026 |
| node-follow-redirects · Ubuntu 18.04.6 LTS (bionic) | 1.2.4-1ubuntu0.18.04.1~esm2 | node-follow-redirects 1.2.4-1ubuntu0.18.04.1~esm2 | Apr 21, 2026 |
| node-follow-redirects · Ubuntu 20.04 LTS (focal) | 1.2.4-1ubuntu0.20.04.1~esm2 | node-follow-redirects 1.2.4-1ubuntu0.20.04.1~esm2 | Apr 21, 2026 |
| node-follow-redirects · Ubuntu 22.04.1 LTS (jammy) | 1.14.9+~1.14.1-1ubuntu0.1~esm2 | node-follow-redirects 1.14.9+~1.14.1-1ubuntu0.1~esm2 | Apr 21, 2026 |
| node-follow-redirects · Ubuntu 24.04.5 LTS (noble) | 1.15.6+~1.14.4-1ubuntu0.1~esm1 | node-follow-redirects 1.15.6+~1.14.4-1ubuntu0.1~esm1 | Apr 21, 2026 |
| node-follow-redirects · Ubuntu 26.04.1 LTS (resolute) | 1.15.11+~1.14.4-1ubuntu0.1~esm1 | node-follow-redirects 1.15.11+~1.14.4-1ubuntu0.1~esm1 | Apr 21, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.