follow-redirects: Cross-realm sensitiveHeaders arrays are discarded and custom credentials can follow redirects
cve-program · CVE-2026-116689 · Published
No access to your tenant or devices. Every item links to its source. What this means
Historical advisory recorded 30 Oct 2026 19:45:26 UTC. Read the latest advisory.
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.
Read the publisher's advisorySee how the publisher's advisory changed over time. Each link opens the version saved at that time. The publisher's update date can differ from the date shown here.
Each link identifies one complete publisher record. History can include advisories that previously shared an identifier; an identifier removed by a publisher no longer establishes a current relationship. A historical link shows only that record and earlier saved versions. Failed checks and unchanged reads do not create new versions.
cve-program · CVE-2026-116689 · Published
cve-program · CVE-2026-116689 · Published
This historical link shows only this version and versions saved before it. Browse all advisory history.