Home › CVE › Vulnerabilities
CVE-2026-140016 — faye websocket-driver-ruby
One of 2 faye websocket-driver-ruby vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesResearch article
WebSocket Driver Parsing Flaw in faye websocket-driver-ruby
| CVE | CVE-2026-140016 |
|---|---|
| Vendor and product | faye websocket-driver-ruby |
| Published | December 01, 2026 00:05 UTC |
| Research cut-off | November 30, 2026 23:50 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-30); CISA KEV catalog |
Executive summary
The faye websocket-driver-ruby library has a parsing flaw that allows unauthenticated remote clients to potentially duplicate messages or cause server crashes in WebSocket connections using draft75 and draft76 protocols. The CVSS 3.1 score is 9.1, CRITICAL, scored by security-advisories@github.com [1]. The vulnerability affects versions before 0.9.0 and is not listed in CISA's Known Exploited Vulnerabilities Catalog, which does not show whether it has been exploited [1, 2]. The fixed version is listed as 0.9.0 [1].
Key points
- A parsing issue in WebSocket connections allows unauthenticated remote clients to duplicate messages or cause server crashes [1].
- The CVSS 3.1 score is 9.1, CRITICAL, scored by security-advisories@github.com [1].
- The vulnerability affects versions before 0.9.0 and is not listed in CISA's Known Exploited Vulnerabilities Catalog, which does not show whether it has been exploited [1, 2].
- The fixed version is listed as 0.9.0 [1].
- The record does not describe mitigation steps beyond the fixed version [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-140016 | faye | websocket-driver-ruby | CWE-248, CWE-456 | 9.1 CRITICAL, scored by security-advisories@github.com | 2026-11-30T22:17:31 | 2026-11-30T22:17:31 | Received |
Vulnerability description
A parsing issue in the WebSocket protocol handler allows an unauthenticated remote client to potentially duplicate application messages or cause the server to crash. This occurs when the server processes a short crafted byte sequence in draft75 and draft76 WebSocket connections [1].
Attack surface and exploitation prerequisites
The CVSS vector indicates the flaw needs no privileges and no user interaction, and is reachable over the network [1]. The attack can be initiated by any remote client [1].
Impact analysis
The CVSS vector highlights a high impact on integrity and availability. Confidentiality remains unaffected, but the server may experience message duplication or a crash, which could lead to service disruptions [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| < 0.9.0 | 0.9.0 |
Exploitation and threat intelligence status
CVE-2026-140016 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-30, which does not confirm or deny active exploitation [2].
Detection and exposure assessment
The record lists faye websocket-driver-ruby versions before 0.9.0 as affected [1]. No specific detection steps are provided by the sources.
Remediation
The vulnerability is resolved in version 0.9.0 of faye websocket-driver-ruby [1]. No further mitigation steps are recommended by the sources.
Remediation checklist
Evidence gaps
- The sources do not describe the product's internal workings or how the WebSocket parser is implemented.
- The sources do not mention any indicators of compromise or detection signatures.
- The sources do not provide a workaround or compensating control for the vulnerability.
- The sources do not describe specific exploitation scenarios or attack steps.
- The sources do not mention any vendor advisories or recommended actions beyond the fixed version.
References
- CVE-2026-140016 record. NIST National Vulnerability Database (NVD), 2026-11-30. https://nvd.nist.gov/vuln/detail/CVE-2026-140016. Accessed 2026-11-30.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-30. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-30.
Summary
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.
Severity breakdown
Critical · 9.1
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on integrity and availability, none on confidentiality
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| faye websocket-driver-ruby | < 0.9.0 | — |
References by type
Vendor advisories
Patches and fixed releases
Affected
- faye websocket-driver-ruby
Frequently asked questions
What is CVE-2026-140016?
The faye websocket-driver-ruby library has a parsing flaw that allows unauthenticated remote clients to potentially duplicate messages or cause server crashes in WebSocket connections using draft75 and draft76 protocols. The CVSS 3.1 score is 9.1, CRITICAL, scored by security-advisories@github.com.
How severe is CVE-2026-140016?
CVE-2026-140016 has a CVSS 3.1 base score of 9.1 (critical), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-140016 being exploited?
Not as far as is known: CVE-2026-140016 is not in CISA's Known Exploited Vulnerabilities catalog as of December 1, 2026.
Which versions are affected by CVE-2026-140016?
faye websocket-driver-ruby < 0.9.0.
How do I fix CVE-2026-140016?
Upgrade faye websocket-driver-ruby to version 0.9.0 to resolve the issue. Following the patch, the record states that draft protocols are switched off unless allowdrafts: true is set to turn them on.