Reachable assertion in undici - CVE-2026-87018
Published: November 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by crashing the Node.js client process, interrupting all in-flight requests and background work.
The vulnerability exists due to a reachable assertion in undici's established socket error handler when processing hostname verification errors during TLS 1.2 renegotiation. A remote attacker can operate an HTTPS endpoint that initially presents a valid certificate matching the requested host, then initiate renegotiation with a different CA-trusted certificate that does not match the hostname to trigger ERR_TLS_CERT_ALTNAME_INVALID and an uncaught AssertionError, terminating the client process.