Disclosed weakness · no CVE recorded

n8n unhandled WebSocket upgrades could exhaust server file descriptors

n8n · n8n AI workflow platform

First documented disclosure · Review checkpoint

Summary

Unclaimed upgrade requests could leave sockets open until the server stopped responding.

Severity and exploitation evidence

Medium · 6.9/10 · CVSS 4.0. Severity source.

Exploitation not established: The reviewed sources establish a disclosed weakness or controlled evidence, not malicious exploitation against users. No product, package or payload was executed in this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

The HTTP server accepted WebSocket upgrades on routes with no handler and did not close the connections.

Conditions required

An unauthenticated caller can reach the n8n HTTP port and issue enough upgrade requests.

Potential impact

Denial of service affecting the editor, API and production webhooks until restart.

Affected versions and configurations

Affected releases on lines before 1.123.102, 2.49.7, 2.50.2 and 3.4.1.

Fix and mitigation status

Maintainer identifies 1.123.102 and 2.49.7, both stable, plus 2.50.2 and 3.4.1, both prereleases.

Practical next steps

Upgrade; limit HTTP-port reachability and permit proxy WebSocket forwarding only for required editor and chat routes.

Operating lesson

Every upgrade path needs an explicit connection owner or a rejection.

Evidence and limits

All four release pages were checked, but no issue-specific code change was mapped independently. Included because it affects the underlying n8n AI workflow platform, not because AI discovered it. No successful malicious exhaustion is reported. Severity is the maintainer’s CVSS 4.0.

Sources