Vulnerability
CVE-2026-40895
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.
196 advisories report this vulnerability, across 6 ecosystems.
Advisories in Wolfi
- CGA-2cqh-wmpg-vjw5
- CGA-3ggf-923r-2mvr
- CGA-3pf5-2x4x-hg5h
- CGA-3r28-5fp6-6fxw
- CGA-3v2f-8466-cqpc
- CGA-3xh6-m6rv-vwpm
- CGA-46v8-79q9-hwmj
- CGA-4c5c-gj6r-qv7m
- CGA-4hcr-m5c7-7c87
- CGA-4wh9-3pf8-xg6h
- CGA-4wpq-vrgh-7r6r
- CGA-56gp-hfmx-5c3v
- CGA-5vwq-8w9h-c8p8
- CGA-79h3-4359-h8fg
- CGA-7v5c-8qwq-5344
- CGA-852m-m9r5-8fh5
- CGA-88gh-pxvq-6pv9
- CGA-8jp8-595p-wvc2
- CGA-8q6m-w7m3-3x97
- CGA-998j-fpmq-3gxm
- CGA-99f7-g8rp-6hc4
- CGA-9fxh-xwq9-wqq6
- CGA-9v23-jgqj-xcc3
- CGA-cvf9-32c9-j8fh
- CGA-f36x-j9pj-w288
- CGA-f3j3-vrpf-wx74
- CGA-f7fm-385q-6h9g
- CGA-g399-w7jf-j6m6
- CGA-g57h-gv66-43ff
- CGA-g7v7-f3jq-g88r
- CGA-gcxh-r84g-9w3r
- CGA-gg8x-44x4-gmvv
- CGA-gvvf-322x-cvph
- CGA-hqcm-4gfx-5vjm
- CGA-j3fh-48pw-wcw4
- CGA-j5mf-pc8f-m34r
- CGA-j6f3-mh6m-4qgp
- CGA-jmcw-25jh-qjm9
- CGA-jvv5-43cj-59jr
- CGA-mhgx-wj66-r36x
- CGA-mm4f-r2rr-r625
- CGA-pj42-x52j-xw68
- CGA-qhw7-9vww-4c35
- CGA-qx5w-qpxv-6m9c
- CGA-r3x6-3362-6fhc
- CGA-rc9p-pp6c-vhjc
- CGA-rggg-q7cm-wqq9
- CGA-v8c5-5f45-g978
- CGA-vcjm-9qg6-gf2h
- CGA-w896-8g64-xvjw
- CGA-x5w8-9chc-884f
- CGA-xqvh-mqv6-93wr
References
- https://github.com/follow-redirects/follow-redirects/commit/844c4d302ac963d29bdb5dc1754ec7df3d70d7f9
- https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-r4q5-vmmm-2653
- https://access.redhat.com/errata/RHSA-2026:13826
- https://access.redhat.com/errata/RHSA-2026:14937
- https://access.redhat.com/errata/RHSA-2026:16476
- https://access.redhat.com/errata/RHSA-2026:16532
- https://access.redhat.com/errata/RHSA-2026:16534
- https://access.redhat.com/errata/RHSA-2026:16535
- https://access.redhat.com/errata/RHSA-2026:16542
- https://access.redhat.com/errata/RHSA-2026:16874
- https://access.redhat.com/errata/RHSA-2026:17657
- https://access.redhat.com/errata/RHSA-2026:17699
- https://access.redhat.com/errata/RHSA-2026:17789
- https://access.redhat.com/errata/RHSA-2026:19109
- https://access.redhat.com/errata/RHSA-2026:19375
- https://access.redhat.com/errata/RHSA-2026:19712
- https://access.redhat.com/errata/RHSA-2026:20889
- https://access.redhat.com/errata/RHSA-2026:20938
- https://access.redhat.com/errata/RHSA-2026:21017
- https://access.redhat.com/errata/RHSA-2026:21338
- https://access.redhat.com/errata/RHSA-2026:21772
- https://access.redhat.com/errata/RHSA-2026:22465
- https://access.redhat.com/errata/RHSA-2026:22629
- https://access.redhat.com/errata/RHSA-2026:22840
- https://access.redhat.com/errata/RHSA-2026:23361
- https://access.redhat.com/errata/RHSA-2026:24536
- https://access.redhat.com/errata/RHSA-2026:24539
- https://access.redhat.com/errata/RHSA-2026:24766
- https://access.redhat.com/errata/RHSA-2026:24853
- https://access.redhat.com/errata/RHSA-2026:24977
- https://access.redhat.com/errata/RHSA-2026:25271
- https://access.redhat.com/errata/RHSA-2026:25273
- https://access.redhat.com/errata/RHSA-2026:26010
- https://access.redhat.com/errata/RHSA-2026:27004
- https://access.redhat.com/errata/RHSA-2026:27044
- https://access.redhat.com/errata/RHSA-2026:27063
- https://access.redhat.com/errata/RHSA-2026:36882
- https://access.redhat.com/errata/RHSA-2026:40768
- https://access.redhat.com/errata/RHSA-2026:41928
- https://access.redhat.com/errata/RHSA-2026:44235
- https://access.redhat.com/errata/RHSA-2026:44263
- https://access.redhat.com/errata/RHSA-2026:44267
- https://access.redhat.com/errata/RHSA-2026:47728
- https://access.redhat.com/errata/RHSA-2026:48699
- https://access.redhat.com/errata/RHSA-2026:50300
- https://access.redhat.com/errata/RHSA-2026:65126
- https://access.redhat.com/security/cve/CVE-2026-40895
- https://bugzilla.redhat.com/show_bug.cgi?id=2460297
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40895.json