🛡️ CVE-2026-61666 — websocket-driver
Description
websocket-driver-ruby: Denial of service via malformed Host header
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.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. Rated impact: confidentiality none, integrity none, availability high.
Affected software
CVE-2026-61666 is recorded against 1 package.
- websocket-driver (fixed in 0.8.2)
Timeline and source
Published on 21 July 2026 and last revised on 23 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
Details
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
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| websocket-driver | — | 0.8.2 |
References
Similar Threats
- Unknown CLSA-2026-1784856035
- Critical ROOT-APP-NPM-CVE-2026-54466
- High CVE-2026-54463
- Unknown CVE-2026-54464
- High CVE-2026-54465
More CVE 2026 advisories
Browse all of CVE 2026 in the advisory index.
Site Security Check
Is websocket-driver part of your stack?
CVE-2026-61666 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.