{"schema":"threatline.record/2","record":{"id":"CVE-2026-85014","aliases":["GHSA-rx4f-c7p8-82vq"],"summary":"undici vulnerable to Denial of Service via WebSocketStream unclean close","details":"## 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.","categories":["Libraries & packages"],"product":"undici","vendor":"undici","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-rx4f-c7p8-82vq","source_modified_at":"2026-09-29T18:10:33Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"undici"},"range":">= 7.0.0, < 7.29.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-rx4f-c7p8-82vq","source_modified_at":"2026-09-29T18:10:33Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"undici"},"range":">= 8.0.0, < 8.10.2"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-85014","source_modified_at":"2026-09-04T19:30:14.192Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"undici","vendor":"undici","versions":[{"lessThan":"7.29.1","status":"affected","version":"7.0.0","versionType":"semver"},{"status":"unaffected","version":"7.29.1","versionType":"semver"},{"lessThan":"8.10.2","status":"affected","version":"8.0.0","versionType":"semver"},{"status":"unaffected","version":"8.10.2","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-rx4f-c7p8-82vq","source_modified_at":"2026-09-29T18:15:04.711653428Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.0.0"},{"fixed":"7.29.1"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-rx4f-c7p8-82vq","source_modified_at":"2026-09-29T18:15:04.711653428Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"ranges":[{"type":"SEMVER","events":[{"introduced":"8.0.0"},{"fixed":"8.10.2"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-rx4f-c7p8-82vq","source_modified_at":"2026-09-29T18:10:33Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"undici"},"version":"7.29.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-rx4f-c7p8-82vq","source_modified_at":"2026-09-29T18:10:33Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"undici"},"version":"8.10.2"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-85014","source_modified_at":"2026-09-04T19:30:14.192Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"undici","ecosystem":null},"version":"7.29.1","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-85014","source_modified_at":"2026-09-04T19:30:14.192Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"undici","ecosystem":null},"version":"8.10.2","basis":"first unaffected version stated in the CVE record"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-rx4f-c7p8-82vq","source_modified_at":"2026-09-29T18:15:04.711653428Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"version":"7.29.1"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-rx4f-c7p8-82vq","source_modified_at":"2026-09-29T18:15:04.711653428Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"version":"8.10.2"}],"cvss":5.9,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00368,"percentile":0.29463,"score_date":"2026-10-23"},"published_at":"2026-09-04T16:30:07.996Z","modified_at":"2026-09-29T18:15:04.711653428Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-rx4f-c7p8-82vq","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-29T18:10:33Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-85014","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-09-04T19:30:14.192Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-rx4f-c7p8-82vq","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-09-29T18:15:04.711653428Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-85014","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/nodejs/undici/security/advisories/GHSA-rx4f-c7p8-82vq"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85014","source":"GitHub Advisory Database"},{"url":"https://github.com/nodejs/undici/commit/1858656ebb1e919311c1f31613dfd581b7214349","source":"GitHub Advisory Database"},{"url":"https://github.com/nodejs/undici/commit/662d0ea671fe64139e79533c913fce412765e1d7","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://cna.openjsf.org/security-advisories.html"},{"url":"https://github.com/nodejs/undici/releases/tag/v7.29.1","source":"GitHub Advisory Database"},{"url":"https://github.com/nodejs/undici/releases/tag/v8.10.2","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-rx4f-c7p8-82vq","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-09-04T19:30:00.595466Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-09-29T18:15:04.711653428Z","content_hash":"d136218b41533db1c326982d0468977d3c8dfd0980adeaa29ec0c2fdea341894"}}
