Skip to main content
VulnerabilityPublished Updated

CVE-2026-61666: websocket-driver-ruby · Denial of service via malformed Host header

Affects websocket-driverSource GCVE Database

0
Compare
Authoritative record:CVE-2026-61666· High 8.9

Not known to be exploited · CVSS 8.9 High : upgrade to 0.8.2 soon.

Data as of 2 Dec 2026, 18:37 UTC

CVSS 4.0 base score
8.9High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
RubyGemswebsocket-driverAffected
  • <0.8.2
Fixed in
  • 0.8.2

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

Community reviews

Loading reviews…