CVE-2026-59725

CVE-2026-59725 is a high-severity security vulnerability in engine.io (npm), affecting versions >= 4.1.0, < 6.6.7. It is fixed in 6.6.7.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

Socket.IO: Engine.IO Polling Transport Connection Exhaustion

Workarounds

If upgrading immediately is not possible, possible mitigations include:

  • Block or reject polling POST requests with Content-Type: application/octet-stream for Engine.IO protocol v4 at a reverse proxy, load balancer, WAF, or application middleware.
  • Disable HTTP long-polling if your deployment can use WebSocket-only transport.
  • Enforce strict request/connection timeouts at the HTTP server, reverse proxy, or load balancer.
  • Apply per-IP rate limits and connection limits for Engine.IO endpoints.
  • Restrict access to the Socket.IO/Engine.IO endpoint where feasible.

Example Socket.IO configuration to disable polling, if compatible with your clients:

const io = new Server(httpServer, {
  transports: ["websocket"],
});

References

Impact

An unauthenticated remote attacker can cause a denial of service in affected versions of engine.io by opening Engine.IO polling sessions and sending an invalid binary POST request with:

Content-Type: application/octet-stream

against an Engine.IO protocol v4 polling transport.

In the vulnerable code path, the server reports a transport error but does not properly close the HTTP response associated with the malformed request. As a result, the underlying HTTP connection may remain open, consuming one server-side socket/resource per crafted request.

An attacker can repeat this with many sessions to exhaust available HTTP connections, sockets, file descriptors, or related server resources, potentially preventing legitimate clients from connecting.

CVE-2026-59725 has a CVSS score of 7.5 (High). The vector is network-reachable, no privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (6.6.7); upgrading removes the vulnerable code path.

Affected versions

engine.io (>= 4.1.0, < 6.6.7)

Security releases

engine.io → 6.6.7 (npm)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

The issue was fixed in:

  • engine.io 6.6.7

The fix ensures that invalid binary polling POST requests are explicitly rejected with an HTTP response and closed properly.

Users should upgrade to:

npm install engine.io@^6.6.7

or a later fixed version.

If using Socket.IO through the monorepo/packages, update to a Socket.IO release that depends on a fixed engine.io version.

Frequently Asked Questions

  1. What is CVE-2026-59725? CVE-2026-59725 is a high-severity security vulnerability in engine.io (npm), affecting versions >= 4.1.0, < 6.6.7. It is fixed in 6.6.7.
  2. How severe is CVE-2026-59725? CVE-2026-59725 has a CVSS score of 7.5 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which versions of engine.io are affected by CVE-2026-59725? engine.io (npm) versions >= 4.1.0, < 6.6.7 is affected.
  4. Is there a fix for CVE-2026-59725? Yes. CVE-2026-59725 is fixed in 6.6.7. Upgrade to this version or later.
  5. Is CVE-2026-59725 exploitable, and should I be worried? Whether CVE-2026-59725 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether CVE-2026-59725 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix CVE-2026-59725? Upgrade engine.io to 6.6.7 or later.

Other vulnerabilities in engine.io

Stop the waste.
Protect your environment with Kodem.