Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-61666
Published:July 21, 2026
Updated:August 02, 2026
Impact 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. Patches 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. Workarounds No known workarounds exist. Acknowledgements This issue was discovered and reported by Pranjali Thakur, DepthFirst Security Research Team.
Affected Packages
https://github.com/faye/websocket-driver-ruby.git (GITHUB):
Affected version(s) >=0.0.0 <0.8.2
Fix Suggestion:
Update to version 0.8.2
websocket-driver (RUBY):
Affected version(s) >=0.1.0 <0.8.2
Fix Suggestion:
Update to version 0.8.2
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
HIGH
CVSS v3
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncaught Exception