CVE-2026-140016
9.1CriticalPublished Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
Critical
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- High impact on integrity, availability
- Weakness
- CWE-248, CWE-456
What an attacker gets
Unauthenticated remote attackers can crash the server or duplicate application messages. This requires no user interaction or authentication.
Root cause
The message parser incorrectly handles short byte sequences in draft75 and draft76 WebSocket connections.
Affected versions
websocket-driver versions prior to 0.9.0
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Fix & remediation
Upgrade to version 0.9.0 or later. If you must use draft protocols, ensure allow_drafts is set to true only after upgrading, as they are now disabled by default.
$ gem update websocket-driverAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.0, message parsing for draft75 and draft76 WebSocket connections could incorrectly handle a short crafted byte sequence. An unauthenticated remote client could use this parsing flaw to duplicate an application message or crash the server. Draft protocols are disabled by default after the fix and require allow_drafts: true to enable. This issue is fixed in version 0.9.0.
References
- https://github.com/faye/websocket-driver-ruby/commit/20603e3dc87f11ab91c9519f625d9b3bdc1e6b7f
- https://github.com/faye/websocket-driver-ruby/commit/d2152940fae66b9093db93256db7ebff0b70247e
- https://github.com/faye/websocket-driver-ruby/releases/tag/0.9.0
- https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxc
Related Critical CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1400157.5HighUnauthenticated remote attackers can crash your service by exhausting memory. They only need to send a stream of bytes after a WebSocket close frame to trigger the leak.
- CVE-2026-1400057.5HighRemote attackers can crash your Node.js process by sending a crafted WebSocket pong payload. This requires no authentication and targets the underlying JavaScript object prototype.
- CVE-2026-1400017.5HighUnauthenticated remote attackers can crash your Node.js process by exhausting heap memory. They only need to send a stream of zero-length WebSocket continuation frames to trigger the crash.
- CVE-2026-1400027.5HighRemote attackers can crash your service by exhausting server memory. They only need to send a single WebSocket close frame and keep the TCP connection open.
- CVE-2026-1400037.5HighUnauthenticated remote attackers can crash your Node.js application by sending a malformed WebSocket handshake. This causes a buffer range exception that terminates the process.
- CVE-2026-1400049.1CriticalUnauthenticated attackers can crash the server process or cause message duplication by sending a crafted byte sequence. This affects legacy WebSocket connections using the draft75 or draft76 protocols.