{"id":"CVE-2026-85014","published":"2026-09-04T16:30:07Z","modified":"2026-09-04T19:30:14Z","title":"undici vulnerable to Denial of Service via WebSocketStream unclean close","vendor":"undici","product":"undici","tier":"tail","description":{"text":"undici's experimental WebSocketStream client crashes the whole Node.js process when a remote peer closes the TCP connection without a WebSocket close handshake. On an unclean close the internal socket-close handler calls abort on the writable stream unconditionally and discards the returned promise, but per the WHATWG Streams standard aborting a locked writable returns a promise that rejects with a TypeError. Because the application holds a writer on that writable, which is the only way to write, the rejection is never observed and Node's default unhandled-rejection behavior terminates the process. An untrusted server can therefore crash a client with a single abrupt disconnect, with no authentication and no application mistake. This affects undici versions from 7.0.0 up to 7.29.1 and from 8.0.0 up to 8.10.2. Users should upgrade to undici 7.29.1 or 8.10.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00368,"percentile":0.31424,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"},{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-rx4f-c7p8-82vq","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":6.28},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"undici","affectedVersions":[{"vendor":"undici","product":"undici","versions":[">= 7.0.0, < 7.29.1",">= 8.0.0, < 8.10.2"]}],"fixedVersions":[{"vendor":"undici","product":"undici","versions":["7.29.1","8.10.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-04T19:30:00.595466Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"undici","vulnerableRanges":[">=7.0.0, <7.29.1",">=8.0.0, <8.10.2"],"patched":["7.29.1","8.10.2"],"from":["GHSA-rx4f-c7p8-82vq"],"provenance":"source"}],"summary":{"text":"The undici library's experimental WebSocketStream client, in its internal socket-close handling, does not properly handle an unclean TCP close, so an unhandled promise rejection can crash the entire Node.js process. An untrusted remote server that abruptly closes the TCP connection without a WebSocket close handshake can crash a client with no authentication, no user interaction, and no application mistake required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:51Z"},"euvd":{"id":"EUVD-2026-71465","exploited":false,"provenance":"source"}}