Urgent
websocket-driver flaws duplicate messages and crash servers
CVE-2026-140004 and 2 more
Node.js servers using this library for connections can freeze or scramble messages!
- CVE
- CVE-2026-140004 and 2 more
- Score
- CVSS 9.1 · CVE-2026-140004
- First seen
9.1
Products
Disclosed together websocket-driver-node
Mitigation
Update to websocket-driver 0.8.0 or later. If you still need draft protocols, pass the allowDrafts: true option.
Summary
A legacy draft75/draft76 message parsing flaw in websocket-driver lets an unauthenticated remote client make a server emit a message twice or crash. Versions before 0.8.0 are affected. The same release also fixes denial-of-service flaws.
Exploit code is public
Affected when
- Server accepting WebSocket connections through websocket-driver
- CVE-2026-140003, CVE-2026-140005 running on Node.js v22 or below
- CVE-2026-140003 accepts draft76 handshakes
- CVE-2026-140004 draft75 or draft76 support enabled
4 other Incidents of this product in the last 30 days
Incidents by product: websocket-driver-node
Other recent Incidents of websocket-driver-node
3 CVEs (every link below opens in a new tab)
Read the advisory · github.com (opens in a new tab)
Each of the 3 CVEs (every link below opens in a new tab)
- CVE-2026-140004Lets an attacker make a server emit a received message twice or crash over a legacy connection. CVSS 9.1 CVE-2026-140004 advisory
- CVE-2026-140003A single legacy handshake header can crash the Node.js process. CVSS 7.5 CVE-2026-140003 advisory
- CVE-2026-140005A single pong frame can crash the server. CVSS 7.5 CVE-2026-140005 advisory