Disclosure summary
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-reported weakness categories
CWE-248, CWE-617
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
GitHub reviewed advisories · GHSA-qrxm-fqhp-jwvm
Open original source · Updated Oct 27, 2026
undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation
GitHub reviewed package advisory. Version ranges and patches are independently attributed; executable descriptions and source code locations are excluded.
Source severity: HIGH
| Vendor | Product / association | Version / bounds |
|---|---|---|
| npm | undici | >= 4.2.1, < 6.29.1 |
| npm | undici | >= 7.0.0, < 7.30.1 |
| npm | undici | >= 8.0.0, < 8.12.2 |
NIST NVD · nvd:CVE-2026-87018
Open original source · Updated Oct 16, 2026
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 severity: HIGH / 7.5
Indexed product associations
These cached associations support search and triage. Confirm applicability, platform conditions, and fixed versions in the original record.
| Vendor | Product | Version | Source / relationship |
|---|---|---|---|
| npm | undici | >= 4.2.1, < 6.29.1 | GHSA-qrxm-fqhp-jwvm / vendor-listed |
| npm | undici | >= 7.0.0, < 7.30.1 | GHSA-qrxm-fqhp-jwvm / vendor-listed |
| npm | undici | >= 8.0.0, < 8.12.2 | GHSA-qrxm-fqhp-jwvm / vendor-listed |
Original records & references
- NIST NVD record
- CVE Program record
- ce714d77-add3-4f53-aff5-83d477b104bb
- ce714d77-add3-4f53-aff5-83d477b104bb
Repositories cited by this CVE
The saved CVE record references these repositories. A citation can identify affected software, a fix, or related research; it does not verify exploit code. These citations are separate from automated search matches and local association reviews.
- nodejs/undici CVE record citation
GitHub repository matches
Repository matches are links and GitHub-supplied metadata only. They are not verified working proof-of-concept code. Each supported query is bounded to ten pages and at most 1,000 indexed results. This is not a complete index of GitHub or public exploit research. Coverage can also be limited by provider availability, rate limits, rejected metadata, incomplete search results, manual review, and the recorded refresh time.
No stored repository matches
Repository discovery has not recorded an update for this CVE yet.
Discovery progress
0 of 3 discovery queries finished. GitHub returned 0 indexed results; 0 malformed or disallowed results were rejected.
No discovery update has been recorded for this CVE.
View all 0 stored repository matches
PUBLISHED 2026-10-15T19:17:46+00:00
MODIFIED 2026-10-16T20:18:12+00:00
INGESTED 2026-10-17T18:54:03+00:00