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

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-27T19:38:46.034Z
- Modified: 2026-10-30T23:15:06.315Z
- Also known as: GHSA-mrwp-f3q8-3g9p
- Weaknesses: CWE-201
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- follow-redirects follow-redirects: >= 1.16.0, < 1.16.2
- follow-redirects (npm): from 1.16.0 before 1.16.2

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.9 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-mrwp-f3q8-3g9p> (exploit, web)
- <https://github.com/follow-redirects/follow-redirects/commit/b0a7751e9cd64cd8eeb6ec67d2f206a9cc88d3f8> (web)
- <https://github.com/follow-redirects/follow-redirects/releases/tag/v1.16.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-116689> (advisory)
- <https://github.com/follow-redirects/follow-redirects> (package)

## Sources

- CVE List: [CVE-2026-116689](https://www.cve.org/CVERecord?id=CVE-2026-116689), CVE Terms of Use, modified 2026-10-30
- GitHub Advisory Database: [GHSA-mrwp-f3q8-3g9p](https://github.com/advisories/GHSA-mrwp-f3q8-3g9p), CC-BY-4.0, modified 2026-10-30
- NVD: [CVE-2026-116689](https://nvd.nist.gov/vuln/detail/CVE-2026-116689), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-116689 · Whole record: https://cve.day/CVE-2026-116689.json · Rebuilt by cve.day 2026-11-25T22:59:47.455Z
