CVE-2026-140016 faye · websocket-driver-ruby
AI summary
websocket-driver-ruby before 0.9.0 mishandles a short crafted byte sequence when parsing messages on draft75 and draft76 WebSocket connections. An unauthenticated remote client can exploit this to duplicate an application message or crash the server. Rated critical (CVSS 9.1), so upgrade promptly to 0.9.0, where draft protocols are disabled by default and can only be enabled with allow_drafts: true.
Official description
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.
- Published
- 2026-11-30 22:17 UTC
- Modified
- 2026-11-30 22:17 UTC
- CVSS
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - ENISA EUVD
- EUVD-2026-139742
- CWE
- CWE-248
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- none
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/faye/websocket-driver-ruby/commit/20603e3dc87f11ab91c9519f625d9b3bdc1e6b7f - github.com
https://github.com/faye/websocket-driver-ruby/commit/d2152940fae66b9093db93256db7ebff0b70247e - github.com
https://github.com/faye/websocket-driver-ruby/releases/tag/0.9.0 - github.com
https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxc