Incorrect Regular Expression in follow-redirects - CVE-2026-111755
Published: November 22, 2026
Vulnerability details
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.