CVE-2026-144303: websocket-driver: Server crash triggered by client sending message data in the same TCP chunk as request headers
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.8.3
Event History
Frequently Asked Questions
Which deployments are exposed?
Applications using websocket-driver before 0.8.3 are exposed if they follow the documented Node HTTP upgrade integration and pass a nonempty HTTP upgrade body to driver.io.write(body) before calling driver.start().
Does exploitation require authentication or user interaction?
No. An unauthenticated remote client can trigger the issue by sending WebSocket frame data in the same TCP chunk as the handshake headers.
What is the practical impact of a successful attack?
The uninitialized RFC 6455 parser state can cause websocket.http() to throw an uncaught exception, crashing the application process.
What should be done to remediate this issue?
Upgrade websocket-driver to version 0.8.3, which fixes the issue.