CVE-2026-140016: websocket-driver · Message corruption and denial of service triggered by crafted client message
Affects mailcatcherSource GCVE Database
Not known to be exploited · CVSS 9.1 Critical : upgrade to 0.9.0 as a priority.
Data as of 2 Dec 2026, 21:49 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 9.1 |
|---|
- Patch
- Available – fixed in 0.9.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade websocket-driver to 0.9.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewmailcatcherpkg:brew/mailcatcherOther threats | Affected
| Fixed in– |
RubyGemswebsocket-driverpkg:gem/websocket-driverOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to a patched version of websocket-driver where the parser bug is fixed and draft protocol support is disabled by default. If draft75 or draft76 support is required, enable it explicitly with allow_drafts: true in the driver configuration. Without this option, connections using these drafts are rejected. No other mitigations are indicated.
Description
A vulnerability in the websocket-driver library allows unauthenticated remote clients to cause message corruption or denial of service by sending a crafted sequence of bytes during a draft75 or draft76 WebSocket connection. This can lead to duplicated messages or server crashes. The issue arises from incorrect parsing of early WebSocket protocol versions. The vulnerability is fixed by disabling draft protocol support by default and correcting the parser bug. Servers that require draft support must explicitly enable it with allow_drafts: true and use a patched version.
References
- github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxc (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-140016 (opens in a new tab)
- github.com/faye/websocket-driver-ruby/commit/20603e3dc87f11ab91c9519f625d9b3bdc1e6b7f (opens in a new tab)
- github.com/faye/websocket-driver-ruby/commit/d2152940fae66b9093db93256db7ebff0b70247e (opens in a new tab)
- github.com/faye/websocket-driver-ruby (opens in a new tab)
- github.com/faye/websocket-driver-ruby/releases/tag/0.9.0 (opens in a new tab)
- github.com/rubysec/ruby-advisory-db/blob/master/gems/websocket-driver/GHSA-pf93-24xc-xgxc.yml (opens in a new tab)