Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-140016 — faye websocket-driver-ruby

Critical · CVSS 9.1 First seen November 30, 2026

One of 2 faye websocket-driver-ruby vulnerabilities published together by NVD: our article covers all of them.

Vulnerabilities

Research article

WebSocket Driver Parsing Flaw in faye websocket-driver-ruby

CVECVE-2026-140016
Vendor and productfaye websocket-driver-ruby
PublishedDecember 01, 2026 00:05 UTC
Research cut-offNovember 30, 2026 23:50 UTC
Sources reviewed2: 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 IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-140016fayewebsocket-driver-rubyCWE-248, CWE-4569.1 CRITICAL, scored by security-advisories@github.com2026-11-30T22:17:312026-11-30T22:17:31Received

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 VersionFixed Version
< 0.9.00.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

  1. Upgrade faye websocket-driver-ruby to version 0.9.0 to resolve the issue [1].
  2. Following the patch, the record states that draft protocols are switched off unless allowdrafts: true is set to turn them on [1].

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

  1. 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. Vulnerability identification, Vulnerability description, Attack surface and exploitation prerequisites, Impact analysis, Affected products and versions, Remediation
  2. 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. Exploitation and threat intelligence status

Written with AI assistance from the 2 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Critical · 9.1 CVSS 3.1 base score from the CNA (github.com)

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

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Weakness

Affected and fixed versions

ProductAffected versionsFixed in
faye websocket-driver-ruby< 0.9.0—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Details from NVD (public domain).

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.

Timeline & sources

References