Skip to content

CVE-2026-39974 n8n-MCP has an Authenticated SSRF via instance-URL header in multi-tenant HTTP mode

HighCVSS 8.5 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Cloud Platforms

Description

n8n-MCP is a Model Context Protocol (MCP) server that provides AI assistants with comprehensive access to n8n node documentation, properties, and operations. Prior to 2.47.4, an authenticated Server-Side Request Forgery in n8n-mcp allows a caller holding a valid AUTH_TOKEN to cause the server to issue HTTP requests to arbitrary URLs supplied through multi-tenant HTTP headers. Response bodies are reflected back through JSON-RPC, so an attacker can read the contents of any URL the server can reach — including cloud instance metadata endpoints (AWS IMDS, GCP, Azure, Alibaba, Oracle), internal network services, and any other host the server process has network access to. The primary at-risk deployments are multi-tenant HTTP installations where more than one operator can present a valid AUTH_TOKEN, or where a token is shared with less-trusted clients. Single-tenant stdio deployments and HTTP deployments without multi-tenant headers are not affected. This vulnerability is fixed in 2.47.4.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
n8n-mcp < 2.47.4 2.47.4 Fixed
npm n8n-mcp(npm) < 2.47.4; <= 2.47.3 2.47.4 Fixed
czlonkowski n8n-mcp = < 2.47.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
czlonkowski n8n-mcp = < 2.47.4 No fix listed
npm n8n-mcp(npm) <= 2.47.3 No fix listed
n8n-mcp < 2.47.4 2.47.4
npm n8n-mcp(npm) < 2.47.4 2.47.4

References