Vulnerabilities in pkg:npm/engine.io
PACKAGECVE-2026-102599 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 protocol revision mismatch dos. Remediation is available by upgrading affected packages to version 6.6.10.
pkg:npm/engine.io
Vulnerability advisories affecting package pkg:npm/engine.io. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2gc4-cqfq-p2gv | CVE-2026-102599 | HIGH | Socket.IO: Engine.IO Protocol Revision Mismatch DoS |
| GHSA-gr94-w7qr-f4j3 | CVE-2026-59724 | HIGH | Socket.IO: Engine.IO WebTransport SID DoS |
| GHSA-r635-g3xr-vw7x | CVE-2026-59725 | HIGH | Socket.IO: Engine.IO Polling Transport Connection Exhaustion |
| GHSA-j4f2-536g-r55m | CVE-2020-36048 | HIGH | Resource exhaustion in engine.io |
| GHSA-q9mw-68c2-j6m5 | CVE-2023-31125 | MODERATE | engine.io Uncaught Exception vulnerability |
| GHSA-r7qp-cfhv-p84w | CVE-2022-41940 | MODERATE | Uncaught exception in engine.io |
| GHSA-273r-mgr4-v34f | CVE-2022-21676 | HIGH | Uncaught Exception in engine.io |
CVE-2026-102599 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-102599
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.10
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-102599, 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.10), 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-102599 Affected Engine.io Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
engine.io
|
npm |
≥ 6.6.0
< 6.6.10
|
6.6.10
|
References
Frequently Asked Questions
What is CVE-2026-102599?
Which Engine.io versions are affected?
What version fixes CVE-2026-102599?
Is engine.io affected?
What is the CVSS score of CVE-2026-102599?
What CWE is associated with CVE-2026-102599?
How can I check npm dependencies for CVE-2026-102599?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2gc4-cqfq-p2gv",
"modified" : "2026-09-29T23:44:33Z",
"published" : "2026-09-29T23:44:33Z",
"aliases" : [ "CVE-2026-102599" ],
"summary" : "Socket.IO: Engine.IO Protocol Revision Mismatch DoS",
"details" : "### Impact\n\nA denial-of-service vulnerability exists in Engine.IO / Socket.IO servers that allow transport upgrades.\n\nThe Engine.IO protocol revision is negotiated during the initial handshake and stored on the session, but a newly-created transport, including a WebSocket upgrade transport, could independently derive a different protocol revision from the upgrade request query parameters. The server did not verify that the protocol revision of an upgrade request matched the protocol revision of the existing session.\n\nA malicious client could exploit this mismatch by establishing a valid Engine.IO session and then sending an upgrade request with a different, or omitted, `EIO` query parameter. This could cause the server to attach a transport using a parser and heartbeat behavior inconsistent with the session. Under some conditions, a crafted heartbeat packet could trigger an uncaught exception and terminate the Node.js process.\n\nServers using the default Engine.IO v4 protocol are impacted. The issue can be triggered even when Engine.IO v3 compatibility is disabled, because an omitted `EIO` parameter is interpreted as protocol v3 on the affected transport path.\n\nThe impact is **denial of service** through process crash.\n\nAffected versions:\n\n- `engine.io >= 6.6.0, < 6.6.10`\n\n## Patches\n\nThe issue was fixed in:\n\n- **engine.io 6.6.10**\n\nUsers should upgrade to `engine.io@6.6.10` or later.\n\nIf using Socket.IO packages that depend on Engine.IO, users should update to a Socket.IO release that includes the patched Engine.IO version.\n\n### Workarounds\n\nIf upgrading is not immediately possible, users can reduce exposure by disabling transport upgrades:\n\n```javascript\nconst io = new Server(httpServer, {\n allowUpgrades: false\n});\n```\n\nor by allowing only a single transport, for example WebSocket only:\n\n```javascript\nconst io = new Server(httpServer, {\n transports: [\"websocket\"]\n});\n```\n\nThese mitigations avoid the vulnerable upgrade path, but they may affect client compatibility and connection behavior.\n\nAs an additional temporary mitigation, deployments may reject Engine.IO requests for an existing `sid` when the `EIO` query parameter is missing or does not match the protocol revision used during the initial handshake. This is best done at the application proxy or middleware layer only if the deployment can reliably track the session’s negotiated protocol.\n\nUpgrading remains the recommended fix.",
"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" : "6.6.0"
}, {
"fixed" : "6.6.10"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/socketio/socket.io/security/advisories/GHSA-2gc4-cqfq-p2gv"
}, {
"type" : "WEB",
"url" : "https://github.com/socketio/socket.io/commit/86db1fc3db2cd315a065d64c4e48918ccf9b4729"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/socketio/socket.io"
}, {
"type" : "WEB",
"url" : "https://github.com/socketio/socket.io/releases/tag/engine.io@6.6.10"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-248" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-29T23:44:33Z",
"nvd_published_at" : null
}
}