Live › vulnerability › CVE-2026-61666
The websocket-driver Ruby gem raises an uncaught URI::InvalidURIError when a client sends a Host header that is not a valid host[:port] string. An unauthenticated remote client can crash the server process when the application does not catch the error from parse().
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-11-02 21:11 UTC, 0h before NVD. All times on this page are UTC.
Applications that use WebSocket::Driver.server() to run a WebSocket server on top of a TCP server are exposed, because a malformed Host header reaches the parser. Applications that only act as WebSocket clients or do not use the server method are not in the described path. Crashes only occur when the application does not catch the error from parse().
| Product | Ecosystem | Affected | Fixed in |
|---|---|---|---|
| websocket-driver | rubygems | < 0.8.2 | 0.8.2 |
Gemfile.lock for websocket-driverWebSocket::Driver.server() in your codeparse() methodwebsocket-driver (rubygems) upgrade to 0.8.2 or later; affected versions are below 0.8.2Each row is the first time that source carried this signal. The analyst’s rows are its own findings.
If this library is used to implement a WebSocket server on top of a TCP server, by using the WebSocket::Driver.server() method, then a client can cause the server to crash by sending a Host header that is not a valid host[:port] string. When this happens, a URI::InvalidURIError exception is raised which is not caught, and this can cause the server process to crash if the application does not catch the error from the parse() method itself.
The issue has been patched in version 0.8.2 by making the request parser catch URI::InvalidURIError and enter an error state if the Host header is malformed. This means the request is considered invalid and should not establish a WebSocket connection.
No known workarounds exist.
This issue was discovered and reported by Pranjali Thakur, DepthFirst Security Research Team.
This page as .md · .json · in your agent: get_signal("CVE-2026-61666")
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.