Improper Certificate Validation in undici - CVE-2026-9697

 

Improper Certificate Validation in undici - CVE-2026-9697

Published: June 17, 2026


Vulnerability identifier: #VU134754
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-9697
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Node.js
Affected software:
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.


How to mitigate CVE-2026-9697

Install security update from vendor's website.

Sources