CVE-2026-59724: Engine.io Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-gr94-w7qr-f4j3
CVSS 7.5
CWE-20
Published
Advisory Summary

CVE-2026-59724 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-20: Improper Input Validation) affecting Engine.io libraries in the npm ecosystem. The issue involves engine.io webtransport sid dos. Remediation is available by upgrading affected packages to version 6.6.7.

CVE-2026-59724 at a Glance

CVE Identifier CVE-2026-59724
GHSA Identifier GHSA-gr94-w7qr-f4j3
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-20: Improper Input Validation
Affected Product Engine.io
Package Ecosystem npm
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2026-59724

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.

engine.io fixed: 6.6.7
npm install engine.io@6.6.7
Verify Direct and Transitive Dependencies

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-59724, 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.7), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. 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

### 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.7` ## Patches The issue was fixed in: - **engine.io 6.6.7** Users should upgrade to `engine.io@6.6.7` 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: ```js const engine = new Server({ transports: ["polling", "websocket"], }); ``` Additional operational mitigations may include: - Restricting access to WebTransport endpoints at the reverse proxy or HTTP/3 layer. - Disabling HTTP/3/WebTransport support until the patched version can be deployed. - Running the service under a supervisor as a partial availability mitigation, though this does not prevent repeated crash attempts. ### References - Fix commit: https://github.com/socketio/socket.io/commit/1fa1f46cd420ac5b57bb4c04c959b58f3c79158c - Engine.IO changelog entry for `6.6.7`: https://github.com/socketio/socket.io/blob/main/packages/engine.io/CHANGELOG.md#667-2026-04-27 - Engine.IO package: https://www.npmjs.com/package/engine.io - Socket.IO repository: https://github.com/socketio/socket.io

CVE-2026-59724 Affected Engine.io Versions

1 component(s)
Fixed Versions:
6.6.7
Product / Package Ecosystem Affected Versions Fixed Version
engine.io
npm
≥ 6.5.0
< 6.6.7
6.6.7

References

Frequently Asked Questions

What is CVE-2026-59724?
CVE-2026-59724 is a security vulnerability in Engine.io involving Engine.IO WebTransport SID DoS under CWE-20: Improper Input Validation.
Which Engine.io versions are affected?
Affected versions include releases prior to 6.6.7 across affected packages: engine.io.
What version fixes CVE-2026-59724?
Upgrading to 6.6.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is engine.io affected?
Yes, engine.io is affected in releases prior to 6.6.7. Upgrade your dependency to 6.6.7 or later.
What is the CVSS score of CVE-2026-59724?
CVE-2026-59724 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2026-59724?
CVE-2026-59724 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check npm dependencies for CVE-2026-59724?
Run the dependency tree command: 'npm ls engine.io'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-gr94-w7qr-f4j3",
  "modified" : "2026-08-31T21:28:12Z",
  "published" : "2026-08-31T21:28:12Z",
  "aliases" : [ "CVE-2026-59724" ],
  "summary" : "Socket.IO: Engine.IO WebTransport SID DoS",
  "details" : "### Impact\n\nEngine.IO servers with **WebTransport enabled** are vulnerable to a remotely triggerable denial of service.\n\nA 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.\n\nThis 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.\n\nSuccessful 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.\n\nAffected configurations are limited to deployments where WebTransport support is enabled. WebTransport is not enabled by default.\n\nAffected versions:\n\n- `engine.io >= 6.5.0 < 6.6.7`\n\n## Patches\n\nThe issue was fixed in:\n\n- **engine.io 6.6.7**\n\nUsers should upgrade to `engine.io@6.6.7` 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 immediately is not possible, affected users can mitigate the issue by disabling WebTransport support.\n\nWebTransport is opt-in, so servers should ensure that `webtransport` is not included in the enabled transports list.\n\nFor example, use only the default HTTP long-polling and WebSocket transports:\n\n```js\nconst engine = new Server({\n  transports: [\"polling\", \"websocket\"],\n});\n```\n\nAdditional operational mitigations may include:\n\n- Restricting access to WebTransport endpoints at the reverse proxy or HTTP/3 layer.\n- Disabling HTTP/3/WebTransport support until the patched version can be deployed.\n- Running the service under a supervisor as a partial availability mitigation, though this does not prevent repeated crash attempts.\n\n### References\n\n- Fix commit: https://github.com/socketio/socket.io/commit/1fa1f46cd420ac5b57bb4c04c959b58f3c79158c\n- Engine.IO changelog entry for `6.6.7`: https://github.com/socketio/socket.io/blob/main/packages/engine.io/CHANGELOG.md#667-2026-04-27\n- Engine.IO package: https://www.npmjs.com/package/engine.io\n- Socket.IO repository: https://github.com/socketio/socket.io",
  "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.5.0"
      }, {
        "fixed" : "6.6.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/socketio/socket.io/security/advisories/GHSA-gr94-w7qr-f4j3"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-59724"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/socketio/socket.io/commit/1fa1f46cd420ac5b57bb4c04c959b58f3c79158c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/socketio/socket.io"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/socketio/socket.io/releases/tag/engine.io@6.6.7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-08-31T21:28:12Z",
    "nvd_published_at" : "2026-07-08T16:16:32Z"
  }
}