Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-87018

undici: undici: Denial of Service via TLS renegotiation with mismatched certificate

Overview

Published
15 Oct 2026
Modified
19 Oct 2026
High CVE
3 Registry packages
53 OS packages
11 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-248, CWE-617

Affected packages · 3

Packages affected by CVE-2026-87018
EcosystemPackageVulnerableFixed in
npm undici >=4.2.1, <6.29.1>=7.0.0, <7.30.1>=8.0.0, <8.12.2 6.29.17.30.18.12.2
Seal npm @seal-security/undici >=4.16.0-sp1, <4.16.0-sp999>=6.21.1-sp1, <6.21.1-sp999>=6.21.2-sp1p1, <6.21.2-sp999>=6.21.3-sp1p1, <6.21.3-sp999>=6.23.0-sp1, <6.23.0-sp2+8 more 4.16.0-sp9996.21.1-sp9996.21.2-sp9996.21.3-sp9996.23.0-sp2
Seal npm undici >=4.16.0-sp0, <4.16.0-sp999>=6.21.1-sp0, <6.21.1-sp999>=6.21.2-sp0, <6.21.2-sp999>=6.21.3-sp0, <6.21.3-sp999>=6.23.0-sp0, <6.23.0-sp2+8 more 4.16.0-sp9996.21.1-sp9996.21.2-sp9996.21.3-sp9996.23.0-sp2

Open a package to see all its vulnerabilities.

Operating systems · 110 fixes

Oracle Linux 1 release · 6 packages

fixed 6
npm nodejs nodejs-packaging nodejs-nodemon v8-12-4-devel v8-13-6-devel
Oracle Linux fixes for CVE-2026-87018
ReleasePackageFixed in
9 npm 1:11.19.0-1.24.21.0.1.0.1.module+el9.8.0+91109+154e6434
9 nodejs +4 1:24.21.0-1.0.1.module+el9.8.0+91109+154e6434
9 nodejs-packaging +1 2021.06-6.module+el9.8.0+91010+e0f4f255
9 nodejs-nodemon 3.1.14-6.module+el9.8.0+91109+154e6434
9 v8-12-4-devel 3:12.4.254.21-1.22.23.2.2.0.1.module+el9.8.0+91110+558b6b61
9 v8-13-6-devel 3:13.6.233.17-1.24.21.0.1.0.1.module+el9.8.0+91109+154e6434

Red Hat 8 releases · 8 packages

affected 3 fixed 25
openshift4-ose-monitoring-plugin-rhel9 nodejs-packaging nodejs-nodemon npm nodejs v8-12-4-devel +2
Red Hat fixes for CVE-2026-87018
ReleasePackageFixed inAdvisory
7 openshift4-ose-monitoring-plugin-rhel9 affected —
8 openshift4-ose-monitoring-plugin-rhel9 +3 affected —
8 (nodejs:22) nodejs-packaging +1 0:2021.06-6.module+el8.10.0+24710+c2e9b41f RHSA-2026:98113
8 (nodejs:22) nodejs-nodemon 0:3.1.14-3.module+el8.10.0+25285+c731a801 RHSA-2026:98113
8 (nodejs:22) npm 1:10.9.9-1.22.23.4.2.module+el8.10.0+25285+c731a801 RHSA-2026:98113
8 (nodejs:22) nodejs +4 1:22.23.4-2.module+el8.10.0+25285+c731a801 RHSA-2026:98113

22 more rows

alma 6 releases · 9 packages

fixed 20
nodejs-docs nodejs24-docs nodejs24-npm npm nodejs nodejs-packaging +3
alma fixes for CVE-2026-87018
ReleasePackageFixed in
10 nodejs-docs 1:22.23.4-1.el10_2
10 nodejs24-docs 1:24.22.1-3.el10_2
10 nodejs24-npm 2:11.19.1-1.24.22.1.3.el10_2
8 (nodejs:22) npm 1:10.9.9-1.22.23.4.2.module_el8.10.0+4358+709b81be
8 (nodejs:22) nodejs +4 1:22.23.4-2.module_el8.10.0+4358+709b81be
8 (nodejs:22) nodejs-packaging +1 2021.06-6.module_el8.10.0+4158+e796f37f

14 more rows

amazon linux 1 release · 6 packages

fixed 6
nodejs22-npm nodejs24-npm nodejs22 nodejs24 v8-12-4-devel v8-13-6-devel
amazon linux fixes for CVE-2026-87018
ReleasePackageFixed in
2023 nodejs22-npm 1:10.9.9-1.22.23.4.1.amzn2023.0.1
2023 nodejs24-npm 1:11.19.1-1.24.22.1.1.amzn2023.0.1
2023 nodejs22 +7 1:22.23.4-1.amzn2023.0.1
2023 nodejs24 +7 1:24.22.1-1.amzn2023.0.1
2023 v8-12-4-devel 3:12.4.254.21-1.22.23.4.1.amzn2023.0.1
2023 v8-13-6-devel 3:13.6.233.17-1.24.22.1.1.amzn2023.0.1

chainguard 1 release · 6 packages

fixed 6
supabase-storage-api node-gyp graalvm-25-2 renovate kibana-9-2 kibana-9-3
chainguard fixes for CVE-2026-87018
ReleasePackageFixed in
supabase-storage-api 1.84.23-r1
node-gyp 13.1.0-r1
graalvm-25-2 25.2.4-r6
renovate 44.198.3-r1
kibana-9-2 9.2.8-r30
kibana-9-3 9.3.8-r9

debian 3 releases · 1 package

affected 2 fixed 1
node-undici
debian fixes for CVE-2026-87018
ReleasePackageFixed in
12 node-undici affected
13 node-undici affected
14 node-undici 8.12.2+dfsg+~cs3.2.3-1

echo 1 release · 1 package

affected 1
node-undici
echo fixes for CVE-2026-87018
ReleasePackageFixed in
node-undici affected

openSUSE 1 release · 1 package

fixed 1
pi-coding-agent
openSUSE fixes for CVE-2026-87018
ReleasePackageFixed inAdvisory
Tumbleweed pi-coding-agent +1 1.5.0-1.1 openSUSE-SU-2026:12421-1

rocky 3 releases · 12 packages

fixed 36
nodejs-npm nodejs26-npm nodejs nodejs24 nodejs26 nodejs24-npm +6
rocky fixes for CVE-2026-87018
ReleasePackageFixed in
10 nodejs-npm 1:10.9.9-1.22.23.4.1.el10_2
10 nodejs26-npm 1:11.20.0-1.26.12.1.3.el10_3
10 nodejs +4 1:22.23.4-1.el10_2
10 nodejs24 +4 1:24.22.1-3.el10_2
10 nodejs26 +4 1:26.12.1-3.el10_3
10 nodejs24-npm 2:11.19.1-1.24.22.1.3.el10_2

30 more rows

root.io debian 1 release · 1 package

affected 1
rootio-node-undici
root.io debian fixes for CVE-2026-87018
ReleasePackageFixed in
12 rootio-node-undici affected

wolfi 1 release · 2 packages

fixed 2
node-gyp renovate
wolfi fixes for CVE-2026-87018
ReleasePackageFixed in
node-gyp 13.1.0-r1
renovate 44.198.3-r1

References

Show all 31 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.