GHSA-75hx-xj24-mqrw: n8n-mcp has unauthenticated session termination and information disclosure in HTTP transport
n8n-mcp up to 2.47.5, in HTTP mode, lets an unauthenticated network attacker terminate active MCP sessions and read operational metadata from the health endpoint. Version 2.47.6 requires Bearer authentication on session endpoints and trims the health check. Stdio mode is not affected.
Published Apr 10, 2026 · Analysis Oct 30, 2026
What an attacker can do
Two endpoints in the HTTP transport lacked proper authentication (CWE-306). The first is session termination, DELETE /mcp: any unauthenticated client could end another client's MCP session. The second is GET /health, which returned far more than liveness. Per the fix commit, it listed active session IDs and session counts, whether the server ran in production mode, whether the default token was in use, the token length, the environment name and memory usage.
The CVSS vector is network, no privileges, no user interaction, with low confidentiality impact, no integrity impact and high availability impact. An attacker with network access can repeatedly kill sessions, which cuts off AI agents and workflows that depend on n8n-mcp. The health data helps plan further attacks, for example by showing that the server still uses a default token, or how short the token is.
This does not by itself give access to n8n workflows. The risk is disruption and reconnaissance.
Who is affected
The npm package n8n-mcp at version 2.47.5 and earlier is affected when run with the HTTP transport. In stdio mode (MCP_MODE=stdio) there are no HTTP endpoints, so it is unaffected.
Check your version:
npm ls n8n-mcpFor Docker, check the image tag. Servers reachable from outside localhost are the most exposed.
n8n-mcp
- Ecosystem
- npm
- Affected
- <= 2.47.5
- Fixed in
- 2.47.6
- Check
npm ls n8n-mcp
How to fix it
Upgrade to n8n-mcp 2.47.6.
npm install [email protected]In the fixed version all MCP session endpoints require Bearer authentication, and /health returns only status, version, uptime and timestamp.
If you cannot upgrade yet, the advisory gives two workarounds: restrict network access to the HTTP server with firewall rules, a reverse-proxy IP allowlist or a VPN, or switch to stdio mode with MCP_MODE=stdio. If your server ran with a default or short token, replace it.
How to tell if you were hit
Check HTTP access logs for DELETE /mcp requests with no Authorization header, and for GET /health calls from addresses that are not your monitoring. Look for MCP clients that report sessions dropping without cause. Since the old health response showed the token length and default-token status, treat a token that was a default or short as exposed and rotate it.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Several HTTP transport endpoints in n8n-mcp lacked proper authentication, and the health check endpoint exposed sensitive operational metadata without credentials.
Impact
An unauthenticated attacker with network access to the n8n-mcp HTTP server could disrupt active MCP sessions and gather information useful for further attacks.
Patches
Fixed in v2.47.6. All MCP session endpoints now require Bearer authentication. The health check endpoint has been reduced to a minimal liveness response.
Workarounds
If you cannot upgrade immediately:
- Restrict network access to the HTTP server using firewall rules, reverse proxy IP allowlists, or a VPN so that only trusted clients can reach it.
- Use stdio mode (
MCP_MODE=stdio) instead of HTTP mode. The stdio transport does not expose any HTTP endpoints and is unaffected by this vulnerability.
Upgrading to v2.47.6 is still strongly recommended.
Credit
Reported by @yotampe-pluto.
Credited to yotampe-pluto.
Questions
- Does GHSA-75hx-xj24-mqrw affect n8n-mcp in stdio mode?
No. The advisory says the stdio transport exposes no HTTP endpoints and is unaffected.
- Which n8n-mcp version fixes GHSA-75hx-xj24-mqrw?
Version 2.47.6. Versions up to and including 2.47.5 are vulnerable.
- Can an attacker run n8n workflows through this flaw?
Not according to the advisory. It describes session disruption and information disclosure from the health endpoint, not workflow access.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Other MCP servers and tools vulnerabilities
All Other MCP servers and tools entriesCVE-2026-102943
Dagu MCP DAG specification read bypasses path containment and workspace isolation
medium6.5Nov 10, 2026CVE-2026-102610
fast-agent: `fast-agent serve` binds HTTP to 0.0.0.0 with no authentication by default; with --shell this is unauthenticated remote command execution
medium6.4Nov 9, 2026CVE-2026-63655
tsParticles: Unbounded HTTP Request Body Buffering in @tsparticles/mcp-server Leads to Remote DoS
high7.5Nov 9, 2026CVE-2026-76892
tsParticles: Malformed JSON requests can terminate the @tsparticles/mcp-server HTTP process
high8.7Nov 9, 2026CVE-2026-76893
tsParticles: A single anonymous MCP session can monopolize HTTP mode and deny new clients
medium6.9Nov 9, 2026CVE-2026-77604
Code Graph RAG: MCP paginated read_file path traversal / arbitrary file read
high7.5Nov 9, 2026
