Improper Certificate Validation in undici - CVE-2026-84961
Published: September 6, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass custom TLS certificate validation.
The vulnerability exists due to improper certificate validation in undici BalancedPool when forwarding function-valued connect or tls options to per-upstream pools. A remote attacker can present a TLS certificate that is rejected by a configured custom checkServerIdentity callback but accepted by Node.js default hostname and chain validation to bypass custom TLS certificate validation.
Only applications using BalancedPool with a function-valued connect or tls option, such as a custom checkServerIdentity callback or connector, are affected.