{"id":"GHSA-rx4f-c7p8-82vq","revision":"dd6bd39da2134dac88b206a3baa76a98","records":[{"revision":"dd6bd39da2134dac88b206a3baa76a98","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-rx4f-c7p8-82vq","aliases":["CVE-2026-85014"],"title":"undici vulnerable to Denial of Service via WebSocketStream unclean close","description":"## Impact\n\nundici's `WebSocketStream` crashes the client process when a WebSocket connection is closed abruptly without a close handshake. On such an unclean close, the internal socket-close handler calls `abort()` on the writable stream even when the application holds a writer lock. Per the WHATWG Streams standard, aborting a locked stream returns a promise that rejects with a `TypeError`, and the handler discards that promise. The unobserved rejection surfaces as an `unhandledRejection` and, under Node.js's default behavior, terminates the process.\n\nA malicious or compromised WebSocket server can crash a client with a single connection teardown (a TCP reset, a proxy teardown, or a protocol-violating frame). Affected applications are those using the `WebSocketStream` API and writing through a writer, which is the standard way to write.\n\nAll releases from undici 7.0.0 are affected. WebSocketStream was introduced in 7.0.0.\n\n## Patches\n\nUpgrade to undici v7.29.1 or v8.10.2.\n\n## Workarounds\n\nNo workaround is available.","state":0,"publishedAt":"2026-09-29T18:10:32+00:00","modifiedAt":"2026-09-29T18:15:04.7116534+00:00","affected":[{"ecosystem":"npm","name":"undici","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"7.0.0"},{"kind":"fixed","version":"7.29.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"undici","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"8.0.0"},{"kind":"fixed","version":"8.10.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/nodejs/undici/security/advisories/GHSA-rx4f-c7p8-82vq","https://nvd.nist.gov/vuln/detail/CVE-2026-85014","https://github.com/nodejs/undici/commit/1858656ebb1e919311c1f31613dfd581b7214349","https://github.com/nodejs/undici/commit/662d0ea671fe64139e79533c913fce412765e1d7","https://cna.openjsf.org/security-advisories.html","https://github.com/nodejs/undici","https://github.com/nodejs/undici/releases/tag/v7.29.1","https://github.com/nodejs/undici/releases/tag/v8.10.2"],"sourceUrl":"https://github.com/advisories/GHSA-rx4f-c7p8-82vq","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-rx4f-c7p8-82vq","identifiers":["GHSA-rx4f-c7p8-82vq","CVE-2026-85014"]},"retained":false,"historicalAffected":[]}],"coverage":[]}