home / blog
2026-12-01 · critical
CVE-2026-140004: Critical websocket-driver vulnerability
Critical vulnerability in websocket-driver legacy parser exploitable via crafted WebSocket connection.

CVE-2026-140004 is a critical vulnerability in websocket-driver, a WebSocket protocol handler with pluggable input and output. The vulnerability manifests in the draft75 and draft76 message parser which mishandles a short crafted byte sequence. An unauthenticated remote client can send this sequence over a legacy WebSocket connection, causing a received message to be emitted twice or causing the server process to crash.
The severity of the vulnerability is classified as critical with a CVSS score of 9.1. The vulnerability has been officially published on November 30, 2026 in the NVD. Signals on X indicate active discussions, with 6 posts in the last 24 hours and 3 total interactions, confirming community attention on the issue.
In defense, administrators should immediately update websocket-driver to version 0.8.0 which fixes this vulnerability. For systems that cannot be immediately updated, it is recommended to limit access to legacy WebSocket connections and monitor for anomalous network activity. It's also important to check any dependencies that use websocket-driver.
At a glance
- What
- Bug in draft75 and draft76 message parser of websocket-driver
- Severity
- Critical (CVSS 9.1)
- Affected versions
- Versions prior to 0.8.0
- Fix
- Version 0.8.0
- Status
- Published on 2026-11-30
- Action
- Update to version 0.8.0
Sources: NVD, CVE-2026-140004