All vulnerabilities

Servers and applications

GHSA-p3cc-p7wp-f2x7

Unclaimed WebSocket Upgrade Requests Exhaust File Descriptors in the n8n Server

Severity
Medium 6.9
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
1.123.102, 2.49.7, 2.50.2
Attack
Over the network · No login needed · No user action needed
Attacker can
Slow it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Sources
Project advisories (GitHub)

Description

The n8n HTTP server accepted WebSocket upgrade requests on paths that no n8n component handled and never closed the resulting connections. Each such request left one socket and file descriptor open in the main process indefinitely. An unauthenticated attacker who could reach the n8n HTTP port could send many of these requests until the process ran out of file descriptors, so the editor, the API and production webhooks stopped responding until n8n was restarted.

From n8n-io/n8n's security advisory.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Restrict n8n instance access to fully trusted users only.
  • Apply network-level controls so that only trusted clients can reach the n8n HTTP port.
  • Configure the reverse proxy in front of n8n to forward WebSocket upgrade requests only for the paths the n8n editor and chat use.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Workarounds as given by n8n-io/n8n's security advisory.

Affected software

SoftwareAffected versions
n8nServers and applications · github:n8n-io/n8n
  • Every version before 1.123.102
  • Every version before 2.50.2
  • Every version before 2.49.7

About n8n

low-code automation tool

From Wikidata, CC0 1.0.
Weekly downloads (npm)
115,152npm, 29 Nov 2026
Docker Hub pulls
292,721,244Docker Hub, 29 Nov 2026
GitHub stars
212,423GitHub, 29 Nov 2026
Forks
61,691GitHub, 29 Nov 2026
Latest release
[email protected]GitHub, 29 Nov 2026
Released
27 Nov 2026GitHub
Written in
TypeScript, Node.jsWikidata
First released
2019Wikidata
First published on GitHub
22 Jun 2019GitHub

References