websocket-driver: Server crash triggered by client sending message data in the same TCP chunk as request headers
- CVE-2026-144303
- GHSA-mxfr-rg9v-vp3c
- EUVD-2026-143536
Summary
websocket-driver versions prior to 0.8.3 contain a flaw in the documented Node HTTP upgrade integration. An application that passes a nonempty upgrade body to driver.io.write before driver.start() has initialized the RFC 6455 parser can be crashed by a remote client. An unauthenticated attacker can place WebSocket frame data in the same TCP chunk as the handshake headers, causing the body to be processed through uninitialized parser state, which throws an uncaught exception and terminates the process. The issue is rated CVSS 7.5 and is fixed in version 0.8.3. It is not listed in the CISA known exploited vulnerabilities catalog.
AI summary · verify against the vendor advisory
Description
websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.3, an application following the documented Node HTTP upgrade integration can pass a nonempty Node HTTP upgrade body to driver.io.write(body) before driver.start() initializes the RFC 6455 parser. An unauthenticated remote client can place WebSocket frame data in the same TCP chunk as the handshake headers, causing websocket.http() to process the body through uninitialized parser state, throw an uncaught exception, and crash the process. This issue is fixed in version 0.8.3.
Text from the CVE.org record.
Recommendation
websocket-driver
- If you run a version before 0.8.3update to 0.8.3 or laterwebsocket-driver 0.8.3 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
faye websocket-driver-node
Affected versions Fixed in < 0.8.3 none stated websocket-drivernpm
Affected versions Fixed in before 0.8.3 0.8.3
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.