engine.io
Affected
- introduced
6.5.0, fixed6.6.7(semver)
Fixed versions
6.6.7
Fix
- Fixed version
6.6.7npm install [email protected]
Advisory
Also known as: CVE-2026-59724
Socket.IO: Engine.IO WebTransport SID DoS
Impact
Engine.IO servers with WebTransport enabled are vulnerable to a remotely triggerable denial of service.
A malicious unauthenticated client can send a crafted WebTransport upgrade request containing a specially chosen session ID, such as __proto__. Because the session ID lookup did not properly verify that the key was an own property of the clients object, the lookup could resolve to an inherited prototype property instead of a valid Engine.IO client.
This can cause a TypeError during WebTransport upgrade handling. Since the failure occurs in an asynchronous context, it may result in an unhandled Promise rejection and terminate the Node.js process on affected Node.js versions/configurations.
Successful exploitation can allow an unauthenticated remote attacker to crash the server process and cause denial of service. Under a process supervisor, repeated exploitation may cause crash loops.
Affected configurations are limited to deployments where WebTransport support is enabled. WebTransport is not enabled by default.
Affected versions:
engine.io >= 6.5.0 < 6.6.7Patches
The issue was fixed in:
Users should upgrade to [email protected] or later.
If using Socket.IO packages that depend on Engine.IO, users should update to a Socket.IO release that includes the patched Engine.IO version.
Workarounds
If upgrading immediately is not possible, affected users can mitigate the issue by disabling WebTransport support.
WebTransport is opt-in, so servers should ensure that webtransport is not included in the enabled transports list.
For example, use only the default HTTP long-polling and WebSocket transports:
const engine = new Server({
transports: ["polling", "websocket"],
});
Additional operational mitigations may include:
References
6.6.7: https://github.com/socketio/socket.io/blob/main/packages/engine.io/CHANGELOG.md#667-2026-04-27High Basis: The source's own band: HIGH
6.5.0, fixed 6.6.7 (semver)6.6.7
6.6.7npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0