Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.1
CVE-2026-140004: websocket-driver may duplicate messages or cause server crash
CVE-2026-140004 · published 5 days ago
Summary
The websocket-driver library used in several Node.js packages can mishandle a specially crafted short message from an unauthenticated client on old WebSocket drafts. This can make the server deliver the same message twice or crash the process, interrupting service. Update the affected packages (debian/node-websocket-driver, canonical/node-websocket-driver, faye/websocket-driver-node, websocket-driver) to version 0.8.0 or newer.
What to do
- Update websocket-driver to version 0.8.0.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Debian:12 | debian | node-websocket-driver | All versions |
| Ubuntu:16.04:LTS | canonical | node-websocket-driver | All versions |
| – | faye | websocket-driver-node | < 0.8.0 |
| npm | – | websocket-driver |
< 0.8.0 Fix: upgrade to 0.8.0
|
Original advisory text
websocket-driver: Message corruption and denial of service triggered by crafted client message
websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.0, a bug in the draft75 and draft76 message parser 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. This issue is fixed in version 0.8.0.
References
- https://github.com/faye/websocket-driver-node/security/advisories/GHSA-v36f-rjg3... Vendor Advisory
- https://github.com/faye/websocket-driver-node/commit/f9f657c823ff826dc4bccda4c60... Patch
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-1400... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-140004 Vendor Advisory
- https://github.com/advisories/GHSA-v36f-rjg3-3v46
- https://security-tracker.debian.org/tracker/CVE-2026-140004 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-140004 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-140004 Third Party Advisory
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker partial control
Type
CWE-248Uncaught Exception
CWE-456Missing Initialization of a Variable
Timeline
Published30 Nov 2026
Updated5 Dec 2026
First seen30 Nov 2026
Sources
CVE-2026-140004 · NVD
CVE-2026-140004 · MITRE
CVE-2026-140004 · OSV
GHSA-v36f-rjg3-3v46 · GHSA
DEBIAN-CVE-2026-140004 · OSV
UBUNTU-CVE-2026-140004 · OSV
Track software like this
Free during beta