Reachable assertion in undici - CVE-2026-87018

 

Reachable assertion in undici - CVE-2026-87018

Published: November 3, 2026


Vulnerability identifier: #VU158707
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-87018
CWE-ID: CWE-617
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

undici

How to mitigate CVE-2026-87018

Install security update from vendor's website.

undici - addressed in versions 6.29.1, 7.30.1, 8.12.2

External References

Related Security Bulletins