CVE-2026-61666: websocket-driver-ruby · Denial of service via malformed Host header
Affects websocket-driverSource GCVE Database
Not known to be exploited · CVSS 8.9 High : upgrade to 0.8.2 soon.
Data as of 2 Dec 2026, 18:37 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.8.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 17 Aug 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 3 Dec 2026.
What to do
Upgrade websocket-driver to 0.8.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemswebsocket-driver | 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 websocket-driver version 0.8.2 or later, which includes a fix that catches the URI::InvalidURIError exception and prevents server crashes from malformed Host headers. No known workarounds exist. Applications should ensure they handle exceptions from the parse() method if using affected versions.
Description
A denial of service vulnerability exists in websocket-driver Ruby library versions prior to 0.8.2. When used to implement a WebSocket server, a malformed Host header can cause the server to crash due to an uncaught URI::InvalidURIError exception. This issue is patched in version 0.8.2 by handling the exception and rejecting invalid requests.
References
- github.com/faye/websocket-driver-ruby/security/advisories/GHSA-2x63-gw47-w4mm (opens in a new tab)
- github.com/faye/websocket-driver-ruby/commit/7d6fd87759a2fdc83590d3b49ffa661dc53fa128 (opens in a new tab)
- github.com/faye/websocket-driver-ruby (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-61666 (opens in a new tab)
- github.com/rubysec/ruby-advisory-db/blob/a58f1d0a3343e85cef597970f2c5458dcfbaf909/gems/websocket-driver/CVE-2026-61666.yml (opens in a new tab)