Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. follow-redirects
  4. ›
  5. CVE-2026-116689

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

October 30, 2026

follow-redirects 1.16.0 and 1.16.1 validate the documented sensitiveHeaders option with instanceof Array. An array created in another JavaScript realm is silently replaced with an empty list, so a caller-declared custom credential header can be forwarded to an attacker-controlled cross-origin redirect destination.

References

  • github.com/advisories/GHSA-mrwp-f3q8-3g9p
  • github.com/follow-redirects/follow-redirects/commit/b0a7751e9cd64cd8eeb6ec67d2f206a9cc88d3f8
  • github.com/follow-redirects/follow-redirects/releases/tag/v1.16.2
  • github.com/follow-redirects/follow-redirects/security/advisories/GHSA-mrwp-f3q8-3g9p
  • nvd.nist.gov/vuln/detail/CVE-2026-116689

Code Behaviors & Features

Detect and mitigate CVE-2026-116689 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.16.0 before 1.16.2

Fixed versions

  • 1.16.2

Solution

Upgrade to version 1.16.2 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-201: Insertion of Sensitive Information Into Sent Data

Source file

npm/follow-redirects/CVE-2026-116689.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:42 +0000.