---
id: CVE-2026-61666
title: websocket-driver is a WebSocket protocol handler with pluggable I/O
summary: >-
  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 …
severity: high
cwe:
  - CWE-248
  - CWE-20
vendor: websocket-driver
product: websocket-driver
affected:
  - websocket-driver < 0.8.2
patched:
  - websocket-driver 0.8.2
published: '2026-08-17'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T20:30:11.423'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-61666'
references:
  - url: >-
      https://github.com/faye/websocket-driver-ruby/commit/7d6fd87759a2fdc83590d3b49ffa661dc53fa128
    label: security-advisories@github.com
  - url: >-
      https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-2x63-gw47-w4mm
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-2x63-gw47-w4mm'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-61666.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-61666'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2510734'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-61666'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-61666'
tags:
  - nvd
  - ghsa
  - rubygems
  - csaf
  - vex
  - red-hat
epss: 0.00445
epssPercentile: 0.35947
aliases:
  - GHSA-2x63-gw47-w4mm
ecosystem: rubygems
ingestedAt: '2026-07-21T18:53:06.584Z'
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-61666)

Affected packages:

- `websocket-driver < 0.8.2`

Patched in:

- `websocket-driver 0.8.2`

Source: https://github.com/advisories/GHSA-2x63-gw47-w4mm

## Vendor advisories

- **Red Hat VEX** · Important · affected: Red Hat 3scale API Management Platform 2, Red Hat Satellite 6 · updated 2026-09-18 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-61666.json)
