CVE-2026-140004: Vulnerability in Faye Websocket-driver-node

Critical. 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.

npm, CWE-248, CWE-456

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-v36f-rjg3-3v46
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness
CWE-248, CWE-456
Published
30 Nov 2026
Last change
4 Dec 2026
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • Faye Websocket-driver-node Before 0.8.0; Version < 0.8.0. Fixed in 0.8.0

Affected packages

Vulnerable version ranges and fixed releases

  • websocket-driver npm, Affected before 0.8.0. Fixed in 0.8.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related