CVE-2026-140016
websocket-driver: Message corruption and denial of service triggered by crafted client message
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.
Fixes and workarounds
Fix
websocket-driver (rubygems): GitHub reports patched versions >=0.9.0. Check the advisory for the affected release branch.
Source: GitHub GHSA-pf93-24xc-xgxcFix
websocket-driver (RubyGems): OSV reports a fixed version 0.9.0. Check the advisory for supported release branches.
Source: OSV GHSA-pf93-24xc-xgxcAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| websocket-driver-ruby faye |
< 0.9.0 (affected) | CNA: GitHub_M |
websocket-driverwebsocket-driver
rubygems |
<0.9.0 (affected, GitHub advisory range) | GitHub GHSA-pf93-24xc-xgxc |
websocket-driverwebsocket-driver
RubyGems |
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 events (ECOSYSTEM)
Other versions: unaffected |
OSV GHSA-pf93-24xc-xgxc |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 9.1 critical |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H | CNA: GitHub_M |
| 3.1 / 9.1 critical |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H | NVD: [email protected] |
Exploit evidence
- https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxc
exploit · ADP: CISA-ADP
References
- https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxcCNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/faye/websocket-driver-ruby/commit/20603e3dc87f11ab91c9519f625d9b3bdc1e6b7fCNA: GitHub_M · x_refsource_MISC
- https://github.com/faye/websocket-driver-ruby/commit/d2152940fae66b9093db93256db7ebff0b70247eCNA: GitHub_M · x_refsource_MISC
- https://github.com/faye/websocket-driver-ruby/releases/tag/0.9.0CNA: GitHub_M · x_refsource_MISC
- https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxcADP: CISA-ADP · exploit
- https://github.com/faye/websocket-driver-ruby/commit/20603e3dc87f11ab91c9519f625d9b3bdc1e6b7f[email protected]
- https://github.com/faye/websocket-driver-ruby/commit/d2152940fae66b9093db93256db7ebff0b70247e[email protected]
- https://github.com/faye/websocket-driver-ruby/releases/tag/0.9.0[email protected]
- https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxc[email protected]
- https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxcGitHub Security Advisories · advisory
- https://github.com/advisories/GHSA-pf93-24xc-xgxcOSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-pf93-24xc-xgxcOSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.