CVE-2026-61666: CWE-248: Uncaught Exception in faye websocket-driver-ruby
websocket-driver is a WebSocket protocol handler with pluggable I/O. Prior to 0.8.2, WebSocket::Driver.server() passes a malformed Host header to URI.parse in lib/websocket/http/request.rb without catching URI::InvalidURIError, allowing a remote client to crash a TCP-backed WebSocket server when the application does not catch the error from parse(). This issue is fixed in version 0.8.2.
AI Analysis
Technical Summary
The websocket-driver-ruby library versions before 0.8.2 contain a vulnerability where the WebSocket::Driver.server() method does not catch URI::InvalidURIError exceptions triggered by malformed Host headers passed to URI.parse in lib/websocket/http/request.rb. This allows a remote attacker to crash the WebSocket server by sending a malformed Host header, causing an uncaught exception and denial of service. The issue is addressed in version 0.8.2 by properly handling the exception.
Potential Impact
A remote attacker can cause a denial of service by crashing the TCP-backed WebSocket server through sending a malformed Host header that triggers an uncaught URI::InvalidURIError exception. This disrupts availability of the affected service. There is no indication of code execution or data compromise from the provided data.
Mitigation Recommendations
Upgrade websocket-driver-ruby to version 0.8.2 or later, where this issue is fixed by catching the URI::InvalidURIError exception. If upgrading is not immediately possible, ensure that the application using the library properly catches exceptions from URI.parse to prevent server crashes.
CVE-2026-61666: CWE-248: Uncaught Exception in faye websocket-driver-ruby
Description
websocket-driver is a WebSocket protocol handler with pluggable I/O. Prior to 0.8.2, WebSocket::Driver.server() passes a malformed Host header to URI.parse in lib/websocket/http/request.rb without catching URI::InvalidURIError, allowing a remote client to crash a TCP-backed WebSocket server when the application does not catch the error from parse(). This issue is fixed in version 0.8.2.
CVSS v4.0
Score 8.9high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The websocket-driver-ruby library versions before 0.8.2 contain a vulnerability where the WebSocket::Driver.server() method does not catch URI::InvalidURIError exceptions triggered by malformed Host headers passed to URI.parse in lib/websocket/http/request.rb. This allows a remote attacker to crash the WebSocket server by sending a malformed Host header, causing an uncaught exception and denial of service. The issue is addressed in version 0.8.2 by properly handling the exception.
Potential Impact
A remote attacker can cause a denial of service by crashing the TCP-backed WebSocket server through sending a malformed Host header that triggers an uncaught URI::InvalidURIError exception. This disrupts availability of the affected service. There is no indication of code execution or data compromise from the provided data.
Mitigation Recommendations
Upgrade websocket-driver-ruby to version 0.8.2 or later, where this issue is fixed by catching the URI::InvalidURIError exception. If upgrading is not immediately possible, ensure that the application using the library properly catches exceptions from URI.parse to prevent server crashes.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2x63-gw47-w4mm
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-61666"]
- Ecosystems
- ["RubyGems"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a5fcf3c1010f89cc2151297
Added to database: 07/21/2026, 19:57:48 UTC
Last enriched: 08/18/2026, 11:35:56 UTC
Last updated: 08/27/2026, 22:52:13 UTC
Views: 199
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.