Back to list

undici vulnerable to Denial of Service via WebSocketStream unclean close — GHSA-RX4F-C7P8-82VQ

GitHub · GitHub · GHSA-RX4F-C7P8-82VQ

ID
GHSA-RX4F-C7P8-82VQ
Date
Source
GitHub
Vendor
GitHub
Threat
medium
CVSS
5.9
EPSS
0.00542

Summary

## Impact undici'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…

Timeline

Published by source
2026-09-29

Risk context

  • Reported severity or threat level: medium.
  • Reported CVSS score: 5.9 out of 10.
  • Reported EPSS value: 0.00542.
  • Review exposure for the affected product or family: npm: undici.

Product

npm: undici

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-RX4F-C7P8-82VQ
Source
GitHub
Vendor
GitHub
Published by source
2026-09-29
Last source activity
2026-09-29
Additional identifiers
CVE-2026-85014
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.