# websocket-driver: Message corruption and denial of service triggered by crafted client message (CVE-2026-140004)

Source: [GitHub Advisory Database](https://github.com/advisories/GHSA-v36f-rjg3-3v46) · 2026-12-01 · Security
Page: https://themorning.dev/story/websocket-driver-message-corruption-and-denial-of-service-triggered-by-crafted-c-1e7b5822b17292b2
Kind: security · Impact: medium

## In brief

- websocket-driver has a flaw in parsing draft75 and draft76 WebSocket connections.
- An unauthenticated remote client can send a brief byte sequence that is parsed incorrectly, causing duplicated messages, message corruption and denial of service.
- Two GitHub Advisory Database entries, CVE-2026-140016 and CVE-2026-140004, describe the same issue.

## Why it matters

Applications using websocket-driver that accept draft75 or draft76 connections from untrusted clients can have messages corrupted or service disrupted by a single crafted client.

## What to do

- Check whether your dependency tree includes websocket-driver and review the advisories GHSA-pf93-24xc-xgxc and GHSA-v36f-rjg3-3v46 for the affected version range.

## CVEs

- CVE-2026-140016
- CVE-2026-140004

## Timeline

- 2026-12-01: Advisories published in GitHub Advisory Database

## Coverage

- [websocket-driver: Message corruption and denial of service triggered by crafted client message (CVE-2026-140016)](https://github.com/advisories/GHSA-pf93-24xc-xgxc) — GitHub Advisory Database, 2026-12-01
- [websocket-driver: Message corruption and denial of service triggered by crafted client message (CVE-2026-140004)](https://github.com/advisories/GHSA-v36f-rjg3-3v46) — GitHub Advisory Database, 2026-12-01

Tags: websocket, security, denial-of-service, node.js, vulnerability

---

Brief generated by AI (claude-haiku-5-5) from the reporting listed under Coverage. Headlines belong to their publishers. The Morning Dev – https://themorning.dev
