Improper Certificate Validation in undici - CVE-2026-9697
Published: June 17, 2026
undici
Detailed vulnerability description
The vulnerability allows a remote attacker to intercept and modify HTTPS traffic.
The vulnerability exists due to improper certificate validation in ProxyAgent and Socks5ProxyAgent when establishing HTTPS connections through a SOCKS5 proxy. A remote attacker can present a certificate signed by a publicly trusted CA for the target hostname to intercept and modify HTTPS traffic.
Only applications that rely on requestTls settings for TLS scope restriction when using a SOCKS5 proxy are affected.