SB20260414106 - Multiple vulnerabilities in follow-redirects



SB20260414106 - Multiple vulnerabilities in follow-redirects

Published: April 14, 2026 Updated: November 22, 2026

Security Bulletin ID SB20260414106
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 3
Exploitation vector Remote access
Highest impact Information disclosure

Breakdown by Severity

Medium 67% Low 33%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 3 vulnerabilities.


1) Information disclosure (CVE-ID: CVE-2026-40895)

CWE-ID: CWE-200 - Exposure of sensitive information to an unauthorized actor

CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to exposure of sensitive information in the redirect handling logic in index.js when following cross-domain redirects. A remote attacker can cause a request to be redirected to an attacker-controlled domain to disclose sensitive information.

Custom authentication headers such as API keys or auth tokens may be forwarded to the redirect target, while only authorization, proxy-authorization, and cookie headers are stripped.


2) Improper Removal of Sensitive Information Before Storage or Transfer (CVE-ID: CVE-2026-111756)

CWE-ID: CWE-212 - Improper Removal of Sensitive Information Before Storage or Transfer

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to obtain sensitive request headers, including credentials, forwarded to an attacker-controlled redirect destination.

The vulnerability exists due to improper removal of sensitive information in the removeMatchingHeaders function in follow-redirects when processing redirects with array-form request headers. The function iterates numeric array indices rather than header names, preventing sensitive-header filters from matching. A remote attacker can return a cross-origin or protocol-downgrade redirect to receive Authorization, Cookie, Proxy-Authorization, and caller-declared sensitive headers at a controlled destination.


3) Incorrect Regular Expression (CVE-ID: CVE-2026-111755)

CWE-ID: CWE-185 - Incorrect Regular Expression

CVSSv4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to obtain credentials from custom HTTP headers that should be stripped during redirects.

The vulnerability exists due to incomplete regular-expression escaping in the follow-redirects sensitiveHeaders filter when it builds a cached pattern from configured header names without accounting for entries later added by the beforeRedirect hook. A remote attacker can control a cross-origin redirect to receive credential headers that the filter fails to strip.


Remediation

Install update from vendor's website.