Vulnerability
CVE-2026-87018
undici is an HTTP client library for Node.js. In versions 4.2.1 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1, the client process crashes when a TLS 1.2 server renegotiates after the connection is established and presents a different, CA-trusted certificate whose hostname does not match the requested host. Node.js re-runs hostname verification on the renegotiated handshake and destroys the socket with a certificate-altname error, but undici's established-socket error handler asserted that this error code could never occur, so the peer-controlled error became an uncaught assertion that terminates the Node.js process, affecting both the HTTP/1.1 and HTTP/2 paths. A malicious or compromised HTTPS endpoint reached through undici or the global fetch() can crash the client with a single server-initiated renegotiation, taking down all in-flight requests and background work in the process, and exploitation needs no CA compromise because the attacker controls the endpoint and can present two ordinary valid certificates. Only TLS 1.2 is affected, since TLS 1.3 does not support renegotiation. The issue is fixed in undici 6.29.1, 7.30.1, and 8.12.2, and users should upgrade to one of those versions or later. As a workaround, restrict outbound connections to TLS 1.3 so renegotiation cannot occur, when the target endpoints support it.
61 advisories report this vulnerability, across 12 ecosystems.
Advisories
-
ALAS2023-2026-3328
Amazon Linux 2023 - ALAS2023-2026-3328: Important priority package update for nodejs22
-
ALAS2023-2026-3330
Amazon Linux 2023 - ALAS2023-2026-3330: Important priority package update for nodejs24
-
ALSA-2026:96088
Important: nodejs24 security, bug fix, and enhancement update
-
ALSA-2026:96094
Important: nodejs22 security update
-
ALSA-2026:96226
Important: nodejs:24 security update
-
ALSA-2026:96234
Important: nodejs:22 security, bug fix, and enhancement update
-
ALSA-2026:98102
Important: nodejs:24 security update
-
ALSA-2026:98113
Important: nodejs:22 security, bug fix, and enhancement update
-
ALSA-2026:98522
Important: nodejs:26 security, bug fix, and enhancement update
-
ALSA-2026:98619
Important: nodejs26 security, bug fix, and enhancement update
- CGA-3fc6-6gcf-wv39
- CGA-44qr-5xxw-8469
- CGA-4f5m-62c4-4hq8
- CGA-5hmv-v35x-px4h
- CGA-6fxf-hx36-826j
- CGA-ch54-77f2-vjm7
- CGA-gjjm-jcqf-h6fx
- CGA-j93f-wgxv-3rj7
- CGA-m2pr-gvg5-97hr
- CGA-mcf8-hg6j-57w6
- CGA-mvjq-rhvj-9jvm
- CGA-p37c-rxxf-54mj
- CGA-rvx9-w59x-6xrx
- CGA-vhq2-qwrp-f2wr
- CGA-w398-4w28-j9j7
- CGA-wj6h-m286-7487
- CGA-xjxg-jg94-m5h8
- CGA-xv96-w877-hjrh
-
DEBIAN-CVE-2026-87018
undici is an HTTP client library for Node.js. In versions 4.2.1 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1, the client process crashes when a TLS 1.2 server renegotiates after the connection is…
-
ELSA-2026-96094
ELSA-2026-96094: nodejs22 security update (IMPORTANT)
-
ELSA-2026-96226
ELSA-2026-96226: nodejs:24 security update (IMPORTANT)
-
ELSA-2026-96234
ELSA-2026-96234: nodejs:22 security, bug fix, and enhancement update (IMPORTANT)
-
ELSA-2026-98102
ELSA-2026-98102: nodejs:24 security update (IMPORTANT)
-
ELSA-2026-98113
ELSA-2026-98113: nodejs:22 security, bug fix, and enhancement update (IMPORTANT)
-
ELSA-2026-98522
ELSA-2026-98522: nodejs:26 security, bug fix, and enhancement update (IMPORTANT)
-
GHSA-qrxm-fqhp-jwvm
undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation
-
RHSA-2026:102180
Red Hat Security Advisory: nodejs22 security update
-
RHSA-2026:84657
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:84706
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:86147
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:87703
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:96088
Red Hat Security Advisory: nodejs24 security, bug fix, and enhancement update
-
RHSA-2026:96094
Red Hat Security Advisory: nodejs22 security update
-
RHSA-2026:96226
Red Hat Security Advisory: nodejs:24 security update
-
RHSA-2026:96234
Red Hat Security Advisory: nodejs:22 security, bug fix, and enhancement update
-
RHSA-2026:98102
Red Hat Security Advisory: nodejs:24 security update
-
RHSA-2026:98113
Red Hat Security Advisory: nodejs:22 security, bug fix, and enhancement update
-
RHSA-2026:98522
Red Hat Security Advisory: nodejs:26 security, bug fix, and enhancement update
-
RHSA-2026:98619
Red Hat Security Advisory: nodejs26 security, bug fix, and enhancement update
-
RHVEX-CVE-2026-87018
undici: undici: Denial of Service via TLS renegotiation with mismatched certificate
-
RLSA-2026:96088
Important: nodejs24 security, bug fix, and enhancement update
-
RLSA-2026:96094
Important: nodejs22 security update
-
RLSA-2026:96226
Important: nodejs:24 security update
-
RLSA-2026:96234
Important: nodejs:22 security, bug fix, and enhancement update
-
RLSA-2026:98102
Important: nodejs:24 security update
-
RLSA-2026:98113
Important: nodejs:22 security, bug fix, and enhancement update
-
RLSA-2026:98522
Important: nodejs:26 security, bug fix, and enhancement update
-
RLSA-2026:98619
Important: nodejs26 security, bug fix, and enhancement update
-
SUSEVEX-CVE-2026-87018
undici is an HTTP client library for Node.js. In versions 4.2.1 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1, the client process crashes when a TLS 1.2 server renegotiates after the connection is…
-
UBUNTU-CVE-2026-87018
undici is an HTTP client library for Node.js. In versions 4.2.1 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1, the client process crashes when a TLS 1.2 server renegotiates after the connection is…
-
openSUSE-SU-2026:12421-1
pi-coding-agent-1.5.0-1.1 on GA media