CVE & CISA-KEV Catalog

CVE-2026-87018

HIGH
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
node-undiciDebian
Fixed in:8.12.2+dfsg+~cs3.2.3-1CVE-2026-87018

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

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

Exploit Intelligence

0.19%probability of exploitation in 30 days
8thpercentile

Low risk: more likely to be exploited than 8% of all known CVEs.

References

Related Vulnerabilities

Other CWE-248 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-59538High7.59.4%-Fix
CVE-2025-53366Unscored-9.3%--
CVE-2021-37714High7.56.7%-Fix
CVE-2018-11466Critical9.84.1%--
CVE-2025-59465High7.54.0%-Fix
CVE-2018-7852High7.53.6%--

Common questions

How do I fix CVE-2026-87018?

Upgrade node-undici on debian unstable to 8.12.2+dfsg+~cs3.2.3-1 or later.

Is CVE-2026-87018 being actively exploited?

Not that we know of. CVE-2026-87018 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.19% is the estimated probability that it will be exploited in the next 30 days. That is higher than 8% of all scored CVEs.

How severe is CVE-2026-87018?

CVE-2026-87018 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-87018 affect?

Published advisories record a fix for node-undici (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-87018
CVE-2026-87018 severity badge

Markdown

[![CVE-2026-87018](https://tridentstack.com/cve/badge/CVE-2026-87018.svg)](https://tridentstack.com/cve/CVE-2026-87018)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-87018"><img src="https://tridentstack.com/cve/badge/CVE-2026-87018.svg" alt="CVE-2026-87018"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-10-19.