{"id":"CVE-2026-102599","aliases":["GHSA-2gc4-cqfq-p2gv"],"title":"Socket.IO: Engine.IO Protocol Revision Mismatch DoS","summary":"Socket.IO: Engine.IO Protocol Revision Mismatch DoS","severity":"high","cvss":7.5,"cwe":["CWE-248"],"vendor":"engine.io","product":"engine.io","ecosystem":"npm","affected":["engine.io >= 6.6.0, < 6.6.10"],"patched":["engine.io 6.6.10"],"published":"2026-09-29","updated":"2026-09-29","sourceUpdated":"2026-09-29T23:44:34Z","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-2gc4-cqfq-p2gv","references":[{"url":"https://github.com/socketio/socket.io/security/advisories/GHSA-2gc4-cqfq-p2gv"},{"url":"https://github.com/socketio/socket.io/commit/86db1fc3db2cd315a065d64c4e48918ccf9b4729"},{"url":"https://github.com/socketio/socket.io/releases/tag/engine.io@6.6.10"},{"url":"https://github.com/advisories/GHSA-2gc4-cqfq-p2gv"}],"tags":["ghsa","npm"],"ingestedAt":"2026-09-29T23:52:50.539Z","slug":"CVE-2026-102599","body":"## Overview\n\n### 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.\n\n## Affected packages\n\n- `engine.io >= 6.6.0, < 6.6.10`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `engine.io 6.6.10`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}