NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
HIGH severity

CVE-2026-87018 — undici

HIGHFix: nodejs/undici@12cfd96

CVE-2026-87018 is a high-severity (CVSS 7.5) CWE-248 vulnerability in undici. A fix is available for undici — see the affected versions and patch details below.

undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation

Also known asGHSA-qrxm-fqhp-jwvm
Published
Updated
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Nov 12, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-87018.

EPSS Exploitation Probability

via FIRST.org ↗
0.2%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs8th percentile — riskier than 8% of all scored CVEsHighest risk
0.00%0.23%0.46%0.69%0.2%0.2%Nov 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

3 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

9Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream
undicinpm
328.2Mdownloads / week

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.

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
📦npmundici≥ 4.2.1&&< 6.29.16.29.1npm install undici@6.29.1
📦npmundici≥ 7.0.0&&< 7.30.17.30.1npm install undici@7.30.1
📦npmundici≥ 8.0.0&&< 8.12.28.12.2npm install undici@8.12.2

Affected Products

1 product · 3 configurations
Application
undicinodejs
≥ 8.0.0 && < 8.12.2
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for undici, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update undici to 6.29.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-87018 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant

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…

ProductFixed inAdvisory
Red Hat Enterprise Linux 10nodejs24-1:24.22.1-3.el10_2RHSA-2026:96088
Red Hat Enterprise Linux 10nodejs22-1:22.23.4-1.el10_2RHSA-2026:96094
Red Hat Enterprise Linux 10nodejs26-1:26.12.1-3.el10_3RHSA-2026:98619
Red Hat Enterprise Linux 8nodejs:24-8100020261105143413.6d880403RHSA-2026:98102
Red Hat Enterprise Linux 8nodejs:22-8100020261104150431.6d880403RHSA-2026:98113
Red Hat Enterprise Linux 9nodejs:24-9080020261105135730.rhel9RHSA-2026:96226
Red Hat Enterprise Linux 9nodejs:22-9080020261103125134.rhel9RHSA-2026:96234
Red Hat Enterprise Linux 9nodejs:26-9090020261105145947.rhel9RHSA-2026:98522

Frequently Asked Questions

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 assert
O3 Security · Impact-Aware SCA

Is CVE-2026-87018 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2026-87018: undici — Fixed in 6.29.1