Vulnerabilities

Vulnerability · CVE-2026-87018

undici is an HTTP client library for Node.js.

Published Oct 15, 2026 · catalog updated Oct 15, 2026 · undici is an HTTP

Check if you run it

No confirmed exploitation is on record for CVE-2026-87018. EPSS is 0.18%. Act only if a listed version of undici is an HTTP is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (undici is an HTTP).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
High7.5
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.18%
Remediation
Advisory link
Affected products
Debian:12 node-undici · Debian:13 node-undici · Debian:14 node-undici · vendor undici undici

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • Debian:12 node-undici5.15.0+dfsg1+~cs20.10.9.3-1, 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1, 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u2
  • Debian:13 node-undici7.15.0+dfsg+~cs3.2.0-1, 7.15.0+dfsg+~cs3.2.0-3, 7.16.0+dfsg+~cs3.2.0-1
  • Debian:14 node-undici7.15.0+dfsg+~cs3.2.0-1, 7.15.0+dfsg+~cs3.2.0-3, 7.16.0+dfsg+~cs3.2.0-1
  • vendor undici undiciversion unspecified

How to fix CVE-2026-87018

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2026-87018. EPSS is 0.18%. Act only if a listed version of undici is an HTTP is installed.

Which versions are affected?

Compare what you have installed with 5.15.0+dfsg1+~cs20.10.9.3-1, 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1, 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u2, 7.15.0+dfsg+~cs3.2.0-1, 7.15.0+dfsg+~cs3.2.0-3, 7.16.0+dfsg+~cs3.2.0-1. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-248; CWE-617. EPSS 0.18%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 15, 2026 · NIST NVD

    Detected

    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 des

  2. Oct 15, 2026 · OpenSSF OSV / OSV Scanner

    Updated

    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 des

Sources

  • CVE.orgVulnerability recordCVE-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

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-87018

    30-day exploitation probability 0.2%

    first.org
  • NIST NVDVulnerability recordCVE-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

    nvd.nist.gov
  • OpenSSF OSV / OSV ScannerPackage advisoryDEBIAN-CVE-2026-87018
    osv.dev

References

Freshness

Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.