home / blog
2026-12-02 · high
CVE-2026-140003: Denial of Service Vulnerability in websocket-driver
High vulnerability in websocket-driver causes Denial of Service via corrupted draft76 handshake. Patched in 0.8.0.

CVE-2026-140003 is a Denial of Service vulnerability in versions prior to 0.8.0 of websocket-driver, a WebSocket protocol handler with pluggable input and output. The issue lies in the draft76 handshake parser, which derives integers from the Sec-WebSocket-Key1 and Sec-WebSocket-Key2 headers. An attacker can supply keys whose derived value exceeds 32 bits, causing a Buffer range exception that crashes the process on Node.js v22 and below. This vulnerability has been fixed in version 0.8.0.
The vulnerability has a CVSS score of 7.5, classifying it as high severity. The National Vulnerability Database (NVD) officially published the advisory on 2026-11-30. Signals indicate that public repositories exist that claim to contain working exploits for this vulnerability, making patch application an urgent priority for system administrators.
For defense, it is crucial to immediately update websocket-driver to version 0.8.0 to mitigate the risk. If an update is not immediately possible, consider implementing restrictions on draft76 handshakes or using reverse proxies that filter malicious requests. Monitor logs for exploitation attempts and implement rate limiting on WebSocket endpoints.
At a glance
- What
- Denial of Service vulnerability in the draft76 handshake parser of websocket-driver
- Severity
- CVSS 7.5, high
- Affected versions
- websocket-driver prior to 0.8.0
- Fix
- Update to version 0.8.0
- Status
- Published in NVD on 2026-11-30
- Action
- Apply patch or implement mitigations
Sources: NVD, CVE-2026-140003