Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-116689 EUVD-2026-111363GHSA-mrwp-f3q8-3g9p

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

Published Oct 27, 2026 · Updated Oct 30, 2026 · 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.

Affected products

VendorProductAffectedFixed
follow-redirects follow-redirects >= 1.16.0, < 1.16.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-follow-redirects No fix yet —
Debian 13 node-follow-redirects No fix yet —
Debian 12 node-follow-redirects No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-follow-redirects No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS node-follow-redirects No fix yet —
Ubuntu Pro 24.04 LTS node-follow-redirects No fix yet —
Ubuntu Pro 22.04 LTS node-follow-redirects No fix yet —
Ubuntu Pro 20.04 LTS node-follow-redirects No fix yet —
Ubuntu Pro 18.04 LTS node-follow-redirects No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 grafana12.4 12.4.13-0.6.hum1 RHSA-2026:93601
Red Hat Hardened Images 1 grafana13.1 13.1.8-0.6.hum1 RHSA-2026:93608
Red Hat Hardened Images 1 grafana13.2 13.2.4-0.6.hum1 RHSA-2026:94794
Red Hat Hardened Images 1 prometheus3.13 3.13.5-0.3.hum1 RHSA-2026:93605
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed agama-web-ui 25+475.275dd4727-56.1 openSUSE-SU-2026:12424-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling code-server 4.144.0-r1 —
Wolfi rolling configurable-http-proxy 5.3.0-r4 —
Wolfi rolling jitsucom-jitsu-console 2.11.0-r42 —
Wolfi rolling kubeflow-pipelines-frontend 2.18.0-r2 —
Wolfi rolling lerna 10.1.1-r4 —
Wolfi rolling nextcloud-server-33 33.0.10-r6 —
Wolfi rolling opensearch-dashboards-3 3.9.0-r9 —
Wolfi rolling prism 5.16.0-r22 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm follow-redirects >= 1.16.0, < 1.16.2 1.16.2 GHSA-mrwp-f3q8-3g9p

Advisories 5

References