CVE-2026-140016
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | websocket-driver | < 0.9.0 | 0.9.0 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| faye | websocket-driver-ruby | < 0.9.0 | |
References
- https://github.com/faye/websocket-driver-ruby/commit/20603e3dc87f11ab91c9519f625d9b3bdc1e6b7f
- https://github.com/faye/websocket-driver-ruby/commit/d2152940fae66b9093db93256db7ebff0b70247e
- https://github.com/faye/websocket-driver-ruby/releases/tag/0.9.0
- https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxc
- https://nvd.nist.gov/vuln/detail/CVE-2026-140016
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/websocket-driver/GHSA-pf93-24xc-xgxc.yml
- https://github.com/advisories/GHSA-pf93-24xc-xgxc
CWEs
CWE-248 CWE-456
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.