Skip to content
OpenAdvisories

Description

follow-redirects is an open source, drop-in replacement for Node's `http` and `https` modules that automatically follows redirects. Prior to 1.16.0, when an HTTP request follows a cross-domain redirect (301/302/307/308), follow-redirects only strips authorization, proxy-authorization, and cookie headers (matched by regex at index.js). Any custom authentication header (e.g., X-API-Key, X-Auth-Token, Api-Key, Token) is forwarded verbatim to the redirect target. This vulnerability is fixed in 1.16.0.

Affected products

VendorProductAffectedFixed
follow-redirects follow-redirects < 1.16.0 —

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 1.16.0+~1.14.4-1 —
Debian 13 node-follow-redirects No fix yet —
Debian 12 node-follow-redirects No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 25.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 1.15.11+~1.14.4-1ubuntu0.1~esm1 USN-8632-1
Ubuntu Pro 24.04 LTS node-follow-redirects 1.15.6+~1.14.4-1ubuntu0.1~esm1 USN-8632-1
Ubuntu Pro 22.04 LTS node-follow-redirects 1.14.9+~1.14.1-1ubuntu0.1~esm2 USN-8632-1
Ubuntu Pro 20.04 LTS node-follow-redirects 1.2.4-1ubuntu0.20.04.1~esm2 USN-8632-1
Ubuntu Pro 18.04 LTS node-follow-redirects 1.2.4-1ubuntu0.18.04.1~esm2 USN-8632-1
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 grafana13.2 13.2.4-0.3.hum1 RHSA-2026:88541

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling argo-workflows-ui-4.0 4.0.4-r5 —
Wolfi rolling code-server 4.112.0-r3 —
Wolfi rolling configurable-http-proxy 5.2.0-r3 —
Wolfi rolling katib-earlystopping +8 0.19.0-r31 —
Wolfi rolling katib-suggestion-goptuna-compat 0.19.0-r40 —
Wolfi rolling kubeflow-pipelines-frontend 2.16.0-r15 —
Wolfi rolling langfuse-3 +1 3.164.0-r6 —
Wolfi rolling lerna 9.0.7-r5 —
Wolfi rolling nextcloud-server-33 33.0.6-r0 —
Wolfi rolling opensearch-dashboards-3 3.6.0-r2 —
Wolfi rolling prism 5.15.7-r0 —
Wolfi rolling saf 1.6.0-r0 —
Wolfi rolling thingsboard-tb-web-ui 4.3.1.1-r4 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm follow-redirects < 1.16.0 1.16.0 GHSA-r4q5-vmmm-2653

Advisories 5

References