Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-102599 Overview
CVE-2026-102599 affects Engine.IO, the transport layer powering Socket.IO bidirectional communication. The flaw exists in versions 6.6.0 through 6.6.9 and allows a remote unauthenticated attacker to terminate the Node.js process via a crafted transport upgrade. Engine.IO derives the protocol revision from the upgrade request rather than enforcing the revision stored on the existing session. An attacker who establishes a valid session can then upgrade with a mismatched or omitted EIO query parameter, attaching a transport with incompatible parser and heartbeat behavior. A malformed heartbeat packet then raises an uncaught exception, crashing the server. The issue is tracked under [CWE-248] Uncaught Exception and resolved in Engine.IO 6.6.10.
Critical Impact
An unauthenticated remote attacker can crash the Node.js process hosting Engine.IO, producing a service-wide denial of service with no privileges or user interaction required.
Affected Products
- Engine.IO 6.6.0 through 6.6.9
- Socket.IO deployments using the affected Engine.IO versions
- Node.js applications embedding the vulnerable Engine.IO server
Discovery Timeline
- 2026-10-13 - CVE CVE-2026-102599 published to NVD
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-102599
Vulnerability Analysis
Engine.IO supports multiple protocol revisions and allows clients to upgrade the underlying transport, typically from HTTP long-polling to WebSocket. The upgrade handshake accepts an EIO query parameter that identifies the protocol revision. On the affected code path, the server independently recomputes the revision from the upgrade request instead of binding it to the revision negotiated when the session was first created.
This mismatch allows a transport to be attached to a session using parser and heartbeat semantics that differ from the ones the session was initialized with. When the server receives a heartbeat packet shaped for the attached revision but processed against the session's original state, parsing diverges and raises an exception the Node.js runtime does not catch. The entire process exits, dropping all connections served by that worker.
The flaw also defeats the server's allowEIO3 setting. Even when Engine.IO v3 compatibility is disabled, an upgrade request that omits the EIO value is interpreted as revision 3 on the vulnerable path, keeping the attack surface reachable.
Root Cause
The root cause is improper validation of the protocol revision during transport upgrade. The server function responsible for deriving the revision reads it from the request query rather than from the session record. Combined with a default of revision 3 when the value is absent, this breaks the invariant that a session's revision cannot change after creation [CWE-248].
Attack Vector
Exploitation requires only network access to the Engine.IO endpoint. The attacker opens a normal session, issues an upgrade request with a different or omitted EIO value, and sends a crafted heartbeat packet designed to trigger an uncaught exception during parsing. No authentication, elevated privileges, or user interaction is involved.
return Object.prototype.hasOwnProperty.call(obj, key);
}
+function computeProtocolRevision(req: EngineRequest): number {
+ return req._query.EIO === "4" ? 4 : 3; // 3rd revision by default
+}
+
export abstract class BaseServer extends EventEmitter {
public opts: ServerOptions;
Source: Socket.IO security patch commit 86db1fc. The patch introduces computeProtocolRevision and enforces that the revision computed from an upgrade request matches the revision stored on the existing session, rejecting mismatches before the incompatible transport is attached.
Detection Methods for CVE-2026-102599
Indicators of Compromise
- Unexpected Node.js process exits accompanied by uncaught exception stack traces referencing the Engine.IO parser or heartbeat handling.
- Repeated client sessions where the initial handshake uses one EIO value and a subsequent /engine.io/ upgrade request uses a different value or omits the parameter.
- Spikes in short-lived sessions followed by abrupt WebSocket disconnects across all connected clients at the same instant.
Detection Strategies
- Inspect reverse proxy and application logs for /engine.io/ or /socket.io/ upgrade requests whose EIO query parameter differs from the value used during session creation.
- Correlate process restart events with inbound requests to Engine.IO endpoints within a short time window.
- Deploy a Node.js uncaughtException handler during triage to capture the originating packet and client address before the process terminates.
Monitoring Recommendations
- Alert on abnormal rates of Node.js worker restarts or orchestrator-level container crash loops hosting Socket.IO services.
- Track the ratio of upgrade requests to completed sessions and flag outliers from a single source IP.
- Record the EIO value on both the initial handshake and the upgrade request so protocol mismatches are visible in telemetry.
How to Mitigate CVE-2026-102599
Immediate Actions Required
- Upgrade Engine.IO to version 6.6.10 across all Socket.IO server deployments.
- Audit dependency trees for transitive installs of Engine.IO 6.6.0 through 6.6.9 bundled with older Socket.IO releases.
- Place rate limiting in front of Engine.IO endpoints to reduce the blast radius of repeated crash attempts while patching rolls out.
Patch Information
The fix is published in Engine.IO release 6.6.10 and detailed in GitHub Security Advisory GHSA-2gc4-cqfq-p2gv. The patch enforces the session's original protocol revision during transport upgrade and rejects requests whose derived revision does not match.
Workarounds
- If immediate patching is not possible, terminate Engine.IO behind a reverse proxy that rejects /engine.io/ upgrade requests missing the EIO query parameter.
- Drop upgrade requests whose EIO value differs from the value seen on the initial handshake for the same session identifier.
- Run Engine.IO workers under a supervisor that restarts crashed processes quickly, treating this as a stopgap only until the upgrade is applied.
# Pin Engine.IO to the fixed release
npm install engine.io@6.6.10
# Verify no vulnerable versions remain in the dependency tree
npm ls engine.io
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

