Skip to content

CVE-2026-116689 follow-redirects: Cross-realm sensitiveHeaders arrays are discarded and custom credentials can follow redirects

MediumCVSS 5.9 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

follow-redirects is a Node.js HTTP and HTTPS client wrapper that automatically follows redirects. From 1.16.0 until 1.16.2, the documented sensitiveHeaders option is checked with value instanceof Array, so an array created in another JavaScript realm is replaced with an empty list even though Array.isArray recognizes it. When a request then follows an attacker-controlled cross-origin redirect, a custom credential header named in that discarded list can be forwarded to the redirect destination. This issue is fixed in version 1.16.2.

Upgrade path

14 packages: 6 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
debian/node-follow-redirects(Debian 12) = 1.15.2+~1.14.1-1; = 1.15.3+~1.14.2-1; = 1.15.6+~1.14.4-1; = 1.15.6+~1.14.4-2 +8 more No fix listed No fix yet
debian/node-follow-redirects(Debian 13) = 1.15.9+~1.14.4-1; = 1.15.11+~1.14.4-1; = 1.15.11+~1.14.4-2; = 1.16.0+~1.14.4-1 +4 more No fix listed No fix yet
redhat/prometheus3.5(Red Hat hummingbird 1) All versions No fix listed No fix yet
ubuntu/node-follow-redirects(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/node-follow-redirects(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/node-follow-redirects(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/node-follow-redirects(Ubuntu 26.10) All versions No fix listed No fix yet
debian/node-follow-redirects(Debian 14) < 1.16.3+~1.14.4-1; = 1.15.9+~1.14.4-1; = 1.15.11+~1.14.4-1; = 1.15.11+~1.14.4-2 +3 more 1.16.3+~1.14.4-1 Fixed
npm follow-redirects(npm) >= 1.16.0, < 1.16.2; >= 1.16.0, <= 1.16.1 1.16.2 Fixed
redhat/grafana12-4-main(Red Hat hummingbird 1) < 12.4.13-0.6.hum1 12.4.13-0.6.hum1 Fixed
redhat/grafana13-1-main(Red Hat hummingbird 1) < 13.1.8-0.6.hum1 13.1.8-0.6.hum1 Fixed
redhat/grafana13-2-main(Red Hat hummingbird 1) < 13.2.4-0.6.hum1 13.2.4-0.6.hum1 Fixed
redhat/prometheus3-13-main(Red Hat hummingbird 1) < 3.13.5-0.3.hum1 3.13.5-0.3.hum1 Fixed
follow-redirects = >= 1.16.0, < 1.16.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
redhat/grafana12-4-main(Red Hat:hummingbird:1) < 12.4.13-0.6.hum1 12.4.13-0.6.hum1
redhat/prometheus3-13-main(Red Hat:hummingbird:1) < 3.13.5-0.3.hum1 3.13.5-0.3.hum1
redhat/grafana13-1-main(Red Hat:hummingbird:1) < 13.1.8-0.6.hum1 13.1.8-0.6.hum1
redhat/grafana13-2-main(Red Hat:hummingbird:1) < 13.2.4-0.6.hum1 13.2.4-0.6.hum1
redhat/prometheus3.5(Red Hat:hummingbird:1) All versions No fix listed
follow-redirects = >= 1.16.0, < 1.16.2 No fix listed
npm follow-redirects(npm) >= 1.16.0, <= 1.16.1 No fix listed
ubuntu/node-follow-redirects(Ubuntu:22.04) All versions No fix listed
ubuntu/node-follow-redirects(Ubuntu:24.04) All versions No fix listed
ubuntu/node-follow-redirects(Ubuntu:26.04) All versions No fix listed
ubuntu/node-follow-redirects(Ubuntu:26.10) All versions No fix listed
debian/node-follow-redirects(Debian:12) All versions No fix listed
debian/node-follow-redirects(Debian:14) < 1.16.3+~1.14.4-1 1.16.3+~1.14.4-1
debian/node-follow-redirects(Debian:13) All versions No fix listed
npm follow-redirects(npm) >= 1.16.0, < 1.16.2 1.16.2
debian/node-follow-redirects(Debian:12) = 1.15.11+~1.14.4-1 No fix listed
debian/node-follow-redirects(Debian:12) = 1.15.11+~1.14.4-2 No fix listed
debian/node-follow-redirects(Debian:12) = 1.15.2+~1.14.1-1 No fix listed
debian/node-follow-redirects(Debian:12) = 1.15.3+~1.14.2-1 No fix listed
debian/node-follow-redirects(Debian:12) = 1.15.6+~1.14.4-1 No fix listed
debian/node-follow-redirects(Debian:12) = 1.15.6+~1.14.4-2 No fix listed
debian/node-follow-redirects(Debian:12) = 1.15.9+~1.14.4-1 No fix listed
debian/node-follow-redirects(Debian:12) = 1.16.0+~1.14.4-1 No fix listed
debian/node-follow-redirects(Debian:12) = 1.16.0+~1.14.4-2 No fix listed
debian/node-follow-redirects(Debian:12) = 1.16.1+~1.14.4-1 No fix listed
Show 14 more
ProductAffected versionsFixed in
debian/node-follow-redirects(Debian:12) = 1.16.3+~1.14.4-1 No fix listed
debian/node-follow-redirects(Debian:13) = 1.15.11+~1.14.4-1 No fix listed
debian/node-follow-redirects(Debian:13) = 1.15.11+~1.14.4-2 No fix listed
debian/node-follow-redirects(Debian:13) = 1.15.9+~1.14.4-1 No fix listed
debian/node-follow-redirects(Debian:13) = 1.16.0+~1.14.4-1 No fix listed
debian/node-follow-redirects(Debian:13) = 1.16.0+~1.14.4-2 No fix listed
debian/node-follow-redirects(Debian:13) = 1.16.1+~1.14.4-1 No fix listed
debian/node-follow-redirects(Debian:13) = 1.16.3+~1.14.4-1 No fix listed
debian/node-follow-redirects(Debian:14) = 1.15.11+~1.14.4-1 No fix listed
debian/node-follow-redirects(Debian:14) = 1.15.11+~1.14.4-2 No fix listed
debian/node-follow-redirects(Debian:14) = 1.15.9+~1.14.4-1 No fix listed
debian/node-follow-redirects(Debian:14) = 1.16.0+~1.14.4-1 No fix listed
debian/node-follow-redirects(Debian:14) = 1.16.0+~1.14.4-2 No fix listed
debian/node-follow-redirects(Debian:14) = 1.16.1+~1.14.4-1 No fix listed

References