cve.bz

CVE-2026-87018 nodejs undici: Uncaught Exception

7.5 highEPSS 0.2%Fix available

High (7.5) in nodejs undici. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in undici 6.29.1, 7.30.1, 8.12.2.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-248 Uncaught Exception
CWE-617 Reachable Assertion
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-87018 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-87018?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-87018?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-87018 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
undicifrom 4.2.1 before 6.29.1
undicifrom 7.0.0 before 7.30.1
undicifrom 8.0.0 before 8.12.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qrxm-fqhp-jwvmnpmundici>=4.2.1 <6.29.16.29.1
GHSA-qrxm-fqhp-jwvmnpmundici>=7.0.0 <7.30.17.30.1
GHSA-qrxm-fqhp-jwvmnpmundici>=8.0.0 <8.12.28.12.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-undicino fix listedDEBIAN-CVE-2026-87018
Debian14node-undici8.12.2+dfsg+~cs3.2.3-1DEBIAN-CVE-2026-87018
Ubuntu24.04:LTS, 26.04:LTS, 26.10node-undicino fix listedUBUNTU-CVE-2026-87018
Red Hathummingbird:1nodejs24, nodejs24-bin, nodejs24-docs and 4 more0:24.21.0-1.5.hum1RHSA-2026:84706
Red Hathummingbird:1nodejs24-npm0:11.19.0-1.24.21.0.1.5.hum1RHSA-2026:84706
Red Hathummingbird:1nodejs26, nodejs26-bin, nodejs26-docs and 4 more0:26.11.1-0.5.hum1RHSA-2026:86147
Red Hathummingbird:1nodejs26, nodejs26-bin, nodejs26-docs and 4 more1:26.12.1-0.1.hum1RHSA-2026:87703
Red Hathummingbird:1nodejs26-npm0:11.20.0-1.26.11.1.0.5.hum1RHSA-2026:86147
Red Hathummingbird:1nodejs26-npm1:11.20.0-1.26.12.1.0.1.hum1RHSA-2026:87703
Red Hathummingbird:1v8-13.6-devel0:13.6.233.17-1.24.21.0.1.5.hum1RHSA-2026:84706
Red Hathummingbird:1v8-14.6-devel0:14.6.202.34-1.26.11.1.0.5.hum1RHSA-2026:86147
openSUSETumbleweedpi-coding-agent1.5.0-1.1openSUSE-SU-2026:12421-1
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:22.23.4-2.module_el8.10.0+4358+709b81beALSA-2026:98113
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:24.22.1-2.module_el8.10.0+4355+47fd9055ALSA-2026:98102
AlmaLinux8nodejs-nodemon3.1.14-2.module_el8.10.0+4250+09238ed4ALSA-2026:98102
AlmaLinux8nodejs-nodemon3.1.14-3.module_el8.10.0+4358+709b81beALSA-2026:98113
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:98102
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el8.10.0+4158+e796f37fALSA-2026:98113
AlmaLinux8npm1:10.9.9-1.22.23.4.2.module_el8.10.0+4358+709b81beALSA-2026:98113
AlmaLinux8npm1:11.19.1-1.24.22.1.2.module_el8.10.0+4355+47fd9055ALSA-2026:98102
AlmaLinux8v8-12.4-devel3:12.4.254.21-1.22.23.4.2.module_el8.10.0+4358+709b81beALSA-2026:98113
AlmaLinux8v8-13.6-devel3:13.6.233.17-1.24.22.1.2.module_el8.10.0+4355+47fd9055ALSA-2026:98102
AlmaLinux9nodejs, nodejs-docs, nodejs-libs and 2 more1:26.12.1-2.module_el9.9.0+350+dfbd8996ALSA-2026:98522
AlmaLinux9nodejs-nodemon3.1.14-2.module_el9.9.0+304+ff00f651ALSA-2026:98522
8 more for AlmaLinux in the JSON.
Rocky Linux8nodejs-nodemon0:3.1.14-2.module+el8.10.0+40277+b1b3f89eRLSA-2026:98102
Rocky Linux8nodejs-nodemon0:3.1.14-2.module+el8.10.0+40278+50b003a3RLSA-2026:98102
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:98102 RLSA-2026:98113
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40171+8fa9c325RLSA-2026:98102 RLSA-2026:98113
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40172+38f6fdd1RLSA-2026:98102 RLSA-2026:98113
Rocky Linux9nodejs-nodemon0:3.1.14-2.module+el9.8.0+40264+d9b257bbRLSA-2026:98522
Rocky Linux9nodejs-nodemon0:3.1.14-2.module+el9.8.0+40280+057606e8RLSA-2026:98522
Rocky Linux9nodejs-nodemon0:3.1.14-3.module+el9.8.0+40281+14cc6568RLSA-2026:96234
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:96226 RLSA-2026:96234 RLSA-2026:98522
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40153+4d595597RLSA-2026:96226 RLSA-2026:96234 RLSA-2026:98522
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40165+d075e3f2RLSA-2026:96226 RLSA-2026:96234 RLSA-2026:98522
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.8.0+40164+8921ab53RLSA-2026:96226 RLSA-2026:96234 RLSA-2026:98522
4 more for Rocky Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is evaluated as an Important severity flaw for Red Hat products because an unauthenticated remote server can terminate a client Node.js process, halting all concurrent tasks and in-flight operations. In typical Red Hat deployments, containerized microservices and administrative consoles rely on undici or runtime fetch APIs to communicate with external web endpoints. Exploitation requires the client application to establish an outbound TLS 1.2 connection to a malicious or compromised endpoint that initiates session renegotiation with a non-matching certificate. Workloads communicating strictly with trusted endpoints or utilizing TLS 1.3 connections are inherently protected, as TLS 1.3 does not permit server-driven renegotiation.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10nodejs24-1:24.22.1-3.el10_2Fixed 2026-11-09RHSA-2026:96088
Red Hat Enterprise Linux 10nodejs22-1:22.23.4-1.el10_2Fixed 2026-11-09RHSA-2026:96094
Red Hat Enterprise Linux 10nodejs26-1:26.12.1-3.el10_3Fixed 2026-11-11RHSA-2026:98619
Red Hat Enterprise Linux 8nodejs:24-8100020261105143413.6d880403Fixed 2026-11-11RHSA-2026:98102
Red Hat Enterprise Linux 8nodejs:22-8100020261104150431.6d880403Fixed 2026-11-11RHSA-2026:98113
Red Hat Enterprise Linux 9nodejs:24-9080020261105135730.rhel9Fixed 2026-11-09RHSA-2026:96226
Red Hat Enterprise Linux 9nodejs:22-9080020261103125134.rhel9Fixed 2026-11-09RHSA-2026:96234
Red Hat Enterprise Linux 9nodejs:26-9090020261105145947.rhel9Fixed 2026-11-11RHSA-2026:98522
Cluster Observability Operator 1.5cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9:1793661804Fixed 2026-11-04RHSA-2026:95081
Cluster Observability Operator 1.5cluster-observability-operator/distributed-tracing-console-plugin-pf5-rhel9:1793664067Fixed 2026-11-04RHSA-2026:95081
Cryostat 4cryostat/cryostat-openshift-console-plugin-rhel9Not affected
Exploit Intelligenceexploit-intelligence/vulnerability-analysis-rhel9Affected
Red Hat AMQ Broker 7amq-broker-bin.zipNot affected
Red Hat AMQ Broker 7amq-broker-maven-repository.zipAffected
Red Hat Ansible Automation Platform 2automation-platform-uiNot affected
Red Hat Build of Podman Desktoprh-podman-desktopAffected
Red Hat Developer Hub 1rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backendAffected
Red Hat Developer Hub 1rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backendAffected
Red Hat Developer Hub 1rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend-module-lokiAffected
Red Hat Developer Hub 1rhdh/red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestratorAffected
57 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-87018.

References

Check your stackJSON