Skip to main content
← All vulnerabilities
CVE-2026-116689EUVD-2026-111363GHSA-MRWP-F3Q8-3G9P

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.16.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

The follow-redirects Node.js library, which automatically follows HTTP and HTTPS redirects, is affected. When a request is redirected to an attacker-controlled site on a different origin, custom credential headers that were meant to be protected can be sent to that destination, potentially exposing secrets to a third party.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • follow-redirects follow-redirects

    From 1.16.0 · fixed in 1.16.2

References 3

GitHub · follow-redirects/follow-redirects