---
title: "CVE-2026-140004"
canonical_url: "https://pkgseek.com/security/CVE-2026-140004"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "critical"
---

# CVE-2026-140004

websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.0, a bug in the draft75 and draft76 message parser mishandles a short crafted byte sequence. An unauthenticated remote client can send this sequence over a legacy WebSocket connection, causing a received message to be emitted twice or causing the server process to crash. This issue is fixed in version 0.8.0.

CVE-2026-140004 is rated CRITICAL (9.1), with 1 indexed affected package builds across 1 distributions.

- **Severity / Score**: CRITICAL (9.1)
- **Affected builds**: 1
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | node-websocket-driver | 0.7.4+~cs0.6.7-2 | — |
