websocket-driver draft protocol support can expose Ruby WebSocket servers to message duplication or a crash when the installed gem is older than 0.9.0. Faye says an unauthenticated remote client can reach the faulty draft75 or draft76 parser. Upgrade websocket-driver to 0.9.0 or later, then confirm the version loaded by each serving process.
The producer published its advisory on November 17, 2026. The GitHub CNA published CVE-2026-140016 on November 30. This alert focuses on the deployment decision; the vulnerability management guide explains the broader triage workflow.
Which websocket-driver Draft Protocol Installations Need Action?
The affected package is websocket-driver on RubyGems. Faye identifies versions below 0.9.0 as affected and 0.9.0 or later as patched. Its impact statement concerns servers using this library to handle WebSocket connections, especially the legacy draft75 and draft76 parsing path.
| Package | Affected | Patched |
|---|---|---|
| websocket-driver (RubyGems) | Before 0.9.0 | 0.9.0 or later |
Check the resolved gem in deployed Ruby environments, including applications that receive it through another dependency. A declared version constraint alone does not prove which version a running server loaded. The vulnerability intelligence platform page provides product context while the deployment owner confirms actual exposure.
Why Can a Short Client Message Disrupt the Server?
Faye describes incorrect message parsing in the two prestandard draft protocols. When the vulnerable parser handles a particular short input, it can deliver one application message twice or crash the server. An unauthenticated client can trigger the behavior remotely; the advisory does not require a separate application privilege.
Duplicate delivery matters if an application treats every received message as a distinct action. A crash interrupts the affected service. Those are reported technical outcomes, not evidence that a particular server has been attacked.
Brandefense Blackhole counted 3 dark-chat items mentioning CVE-2026-140016 from September 2 through December 1, 2026. The unit is an identifier-mentioning chat item. This count does not establish an incident or active exploitation.
How Should Teams Apply the 0.9.0 Fix?
Faye says upgrading to a patched release is the known mitigation. Version 0.9.0 fixes the parser and disables draft protocol support by default. A server that intentionally retains draft75 or draft76 support must enable the allow_drafts option and still use a patched release.
- InventoryIdentify services that use websocket-driver, including transitive dependencies.
- UpgradeResolve and deploy websocket-driver 0.9.0 or later in affected environments.
- RestartRestart serving processes so they load the updated gem.
- VerifyCheck the gem version used by each running service and review intended draft protocol support.
- ReviewCorrelate earlier server crashes or duplicate application events with WebSocket traffic as an investigation step.
The final review step is our defensive inference from Faye’s described outcomes. A crash or duplicate event alone cannot identify this CVE. Record the running version, configuration choice and restart evidence in the patch management process.
Frequently Asked Questions
Which websocket-driver version fixes the draft protocol flaw?
Faye lists 0.9.0 as the first patched release. Verify that every serving Ruby process loads version 0.9.0 or later.
Does turning off draft protocol support replace the upgrade?
Faye identifies upgrading as the known mitigation. The patched release also disables legacy draft protocols by default.
Can the issue affect application messages?
Yes. Faye says the parser can duplicate a received message, while another input can crash the server.
