CVE-2026-111755
CVE-2026-111755 · follow-redirects sensitiveHeaders regex escaping can expose credential headers
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.2 · High · EPSS 0.5% · Public exploit · Fix available
- Published
- Updated
Affected products and versions
follow-redirects
- Versions
- >= 1.16.0, < 1.16.1: Affected
No fix published
node-follow-redirects Debian:12
- Versions
- 1.15.11+~1.14.4-1
- 1.15.11+~1.14.4-2
- 1.15.2+~1.14.1-1
- 1.15.3+~1.14.2-1
- 1.15.6+~1.14.4-1
- 1.15.6+~1.14.4-2
- 1.15.9+~1.14.4-1
- 1.16.0+~1.14.4-1
- 1.16.0+~1.14.4-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-follow-redirects Debian:13
- Versions
- 1.15.11+~1.14.4-1
- 1.15.11+~1.14.4-2
- 1.15.9+~1.14.4-1
- 1.16.0+~1.14.4-1
- 1.16.0+~1.14.4-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-follow-redirects Debian:14
- Versions
- 1.15.11+~1.14.4-1
- 1.15.11+~1.14.4-2
- 1.15.9+~1.14.4-1
- 1.16.0+~1.14.4-1
- 1.16.0+~1.14.4-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
follow-redirects npm
- Affected ranges
- SEMVER: ≥ 1.16.0, < 1.16.1
Update to 1.16.1
node-follow-redirects Ubuntu:Pro:18.04:LTS
- Versions
- 1.2.4-1
- 1.2.4-1ubuntu0.18.04.1~esm1
- 1.2.4-1ubuntu0.18.04.1~esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-follow-redirects Ubuntu:Pro:20.04:LTS
- Versions
- 1.2.4-1
- 1.2.4-1ubuntu0.20.04.1~esm1
- 1.2.4-1ubuntu0.20.04.1~esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-follow-redirects Ubuntu:Pro:22.04:LTS
- Versions
- 1.13.1-1
- 1.14.5-1
- 1.14.7+~1.13.1-1
- 1.14.8+~1.14.0-1
- 1.14.9+~1.14.1-1
- 1.14.9+~1.14.1-1ubuntu0.1~esm1
- 1.14.9+~1.14.1-1ubuntu0.1~esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-follow-redirects Ubuntu:Pro:24.04:LTS
- Versions
- 1.15.2+~1.14.1-1
- 1.15.3+~1.14.2-1
- 1.15.6+~1.14.4-1
- 1.15.6+~1.14.4-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-follow-redirects Ubuntu:26.10
- Versions
- 1.15.11+~1.14.4-1build1
- 1.16.0+~1.14.4-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-follow-redirects Ubuntu:Pro:26.04:LTS
- Versions
- 1.15.9+~1.14.4-1
- 1.15.11+~1.14.4-1build1
- 1.15.11+~1.14.4-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-8r9p-f939-6h3c
- https://github.com/follow-redirects/follow-redirects/commit/080a76d0e125b37bf81717368a61d5dc37aa56c8
- https://github.com/follow-redirects/follow-redirects/releases/tag/v1.16.1
- https://nvd.nist.gov/vuln/detail/CVE-2026-111755