Improper Certificate Validation in undici - CVE-2026-109383
Published: November 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass custom TLS certificate validation, potentially exposing or modifying sensitive communications.
The vulnerability exists due to improper certificate validation in undici's Agent when a JSON-based deep clone of constructor options silently drops function-valued tls options, including a custom checkServerIdentity callback, before forwarding them to per-origin Pool instances. A remote attacker can present a certificate that passes Node's default hostname and certificate chain checks but would be rejected by the custom callback to impersonate a trusted TLS peer and potentially read or modify application communications.
EnvHttpProxyAgent is also affected on its direct and NO_PROXY routes because these delegate to an internal Agent.