# CVE-2026-140016: websocket-driver: Message corruption and denial of service triggered by crafted client message

Status: published. Published: 2026-11-30. Updated: 2026-12-01.

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.

## Remediation

- fix: websocket-driver (rubygems): GitHub reports patched versions >=0.9.0. Check the advisory for the affected release branch. (source: GitHub GHSA-pf93-24xc-xgxc) — https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxc
- fix: websocket-driver (RubyGems): OSV reports a fixed version 0.9.0. Check the advisory for supported release branches. (source: OSV GHSA-pf93-24xc-xgxc) — https://github.com/advisories/GHSA-pf93-24xc-xgxc

## Affected products and versions

- faye / websocket-driver-ruby: < 0.9.0 (affected). Source: CNA: GitHub_M
-  / websocket-driver (websocket-driver): <0.9.0 (affected, GitHub advisory range). Source: GitHub GHSA-pf93-24xc-xgxc
-  / websocket-driver (websocket-driver): 0.1.0 (affected, RubyGems); 0.2.0 (affected, RubyGems); 0.2.1 (affected, RubyGems); 0.2.2 (affected, RubyGems); 0.2.3 (affected, RubyGems); 0.3.0 (affected, RubyGems); 0.3.1 (affected, RubyGems); 0.3.2 (affected, RubyGems); 0.3.3 (affected, RubyGems); 0.3.4 (affected, RubyGems); 0.3.5 (affected, RubyGems); 0.4.0 (affected, RubyGems); 0.5.0 (affected, RubyGems); 0.5.1 (affected, RubyGems); 0.5.2 (affected, RubyGems); 0.5.3 (affected, RubyGems); 0.5.4 (affected, RubyGems); 0.6.0 (affected, RubyGems); 0.6.1 (affected, RubyGems); 0.6.2 (affected, RubyGems); 0.6.3 (affected, RubyGems); 0.6.4 (affected, RubyGems); 0.6.5 (affected, RubyGems); 0.7.0 (affected, RubyGems); 0.7.1 (affected, RubyGems); 0.7.2 (affected, RubyGems); 0.7.3 (affected, RubyGems); 0.7.4 (affected, RubyGems); 0.7.5 (affected, RubyGems); 0.7.6 (affected, RubyGems); 0.7.7 (affected, RubyGems); 0.8.0 (affected, RubyGems); 0.8.1 (affected, RubyGems); 0.8.2 (affected, RubyGems); Ecosystem version events: introduced 0; fixed 0.9.0. Source: OSV GHSA-pf93-24xc-xgxc

## Severity and prioritization

- CVSS 3.1: 9.1 (critical); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H; source: CNA: GitHub_M

- CVSS 3.1: 9.1 (critical); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: 0.81% as of 2026-12-01; percentile 57.95%

- SSVC: exploitation poc; automatable yes; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-248, CWE-456

## Exploit evidence

- exploit: https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxc (ADP: CISA-ADP)

## References

- https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxc (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/faye/websocket-driver-ruby/commit/20603e3dc87f11ab91c9519f625d9b3bdc1e6b7f (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/faye/websocket-driver-ruby/commit/d2152940fae66b9093db93256db7ebff0b70247e (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/faye/websocket-driver-ruby/releases/tag/0.9.0 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxc (ADP: CISA-ADP; exploit)

- https://github.com/faye/websocket-driver-ruby/commit/20603e3dc87f11ab91c9519f625d9b3bdc1e6b7f (security-advisories@github.com)

- https://github.com/faye/websocket-driver-ruby/commit/d2152940fae66b9093db93256db7ebff0b70247e (security-advisories@github.com)

- https://github.com/faye/websocket-driver-ruby/releases/tag/0.9.0 (security-advisories@github.com)

- https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxc (security-advisories@github.com)

- https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxc (GitHub Security Advisories; advisory)

- https://github.com/advisories/GHSA-pf93-24xc-xgxc (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-pf93-24xc-xgxc (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-140016; retrieved 2026-12-01; source updated 2026-12-01

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-140016; retrieved 2026-12-01; source updated 2026-11-30

- GitHub Security Advisories: https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxc; retrieved 2026-12-01; source updated 2026-11-30

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-pf93-24xc-xgxc; retrieved 2026-12-01; source updated 2026-12-01

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-140016; retrieved 2026-12-01; source updated Not reported

Revision: 0ba07012da1e063a2fddf83e9ccfeadfbc06b778b55f6937e724c90bf1b8fb3d

Canonical: https://y2.dev/cve/CVE-2026-140016

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.