Intel

AIKIDO-2026-677195

websocket-driver is vulnerable to Denial of Service (DoS)

CVE-2026-61666Published Jul 8, 2026
July 8, 2026

89

CVE Score

High

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

The Server driver, created via WebSocket::Driver.server(), parses the incoming HTTP Host header into server name and port using URI parsing while completing the request. A client can send a malformed Host header that is not a valid host[:port] value, which raises an uncaught URI::InvalidURIError. Before the fix this exception propagates out of the request parser and can crash the server process, causing a denial of service when the application does not itself rescue the error. The fix makes the request parser rescue URI::InvalidURIError and put the request into an error state so the connection is treated as invalid instead of raising.

How do I fix this?

Upgrade the websocket-driver library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and are using the Server driver created via WebSocket::Driver.server().

Versions

0.0.1 - 0.8.1

Fixed in 0.8.2

Background info

websocket-driver is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 0.8.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea