Skip to main content
← All vulnerabilities
CVE-2026-111755GHSA-8R9P-F939-6H3C

follow-redirects sensitiveHeaders regex escaping can expose credential headers

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

Summary

follow-redirects is a Node.js HTTP and HTTPS client wrapper that automatically follows redirects. From 1.16.0 until 1.16.1, escapeRegex leaves valid header-name metacharacters unescaped in sensitiveHeaders. When an application declares a sensitive header whose name contains ^ or | and follows a cross-origin or HTTPS-to-HTTP redirect, unescaped regular-expression metacharacters prevent the generated filter from matching the declared header name, and the credential header is forwarded to an attacker-controlled redirect target. This issue is fixed in version 1.16.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • follow-redirects follow-redirects

    From 1.16.0 · fixed in 1.16.1

  • follow-redirectsnpm

    From 1.16.0 · fixed in 1.16.1

References 3

GitHub · follow-redirects/follow-redirects