{"id":"CVE-2026-39974","published":"2026-04-09T16:45:20Z","modified":"2026-04-13T20:09:26Z","title":"n8n-MCP has an Authenticated SSRF via instance-URL header in multi-tenant HTTP mode","vendor":"czlonkowski","product":"n8n-mcp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00447,"percentile":0.30751,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/czlonkowski/n8n-mcp/security/advisories/GHSA-4ggg-h7ph-26qr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/czlonkowski/n8n-mcp/commit/d9d847f230923d96e0857ccecf3a4dedcc9b0096","tags":["x_refsource_MISC"]},{"url":"https://github.com/czlonkowski/n8n-mcp/releases/tag/v2.47.4","tags":["x_refsource_MISC"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":6.15},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"czlonkowski","affectedVersions":[{"vendor":"czlonkowski","product":"n8n-mcp","versions":["< 2.47.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-13T20:09:16.284220Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n-mcp","vulnerableRanges":["<2.47.4"],"patched":["2.47.4"],"from":["GHSA-4ggg-h7ph-26qr"],"provenance":"source"}],"summary":{"text":"n8n-MCP, the Model Context Protocol server that gives AI assistants access to n8n node documentation and operations, contains a server-side request forgery flaw in its multi-tenant HTTP mode, where the instance-URL headers are not properly validated. An attacker holding a valid AUTH_TOKEN, reachable over the network, can make the server request arbitrary URLs and read the responses reflected back through JSON-RPC, which can expose cloud instance metadata endpoints and internal services; single-tenant stdio deployments and HTTP deployments without multi-tenant headers are not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:47Z"},"euvd":{"id":"EUVD-2026-20968","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-czlonkowski-n8n-mcp-cve-2026-39974","children":[{"from":"CVE-2026-39974","to":"CVE-2026-42449","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["dist/utils/ssrf-protection.d.ts","dist/utils/ssrf-protection.d.ts.map","dist/utils/ssrf-protection.js","dist/utils/ssrf-protection.js.map","src/utils/ssrf-protection.ts"],"commits":["https://github.com/czlonkowski/n8n-mcp/commit/d9d847f230923d96e0857ccecf3a4dedcc9b0096","https://github.com/czlonkowski/n8n-mcp/commit/9639f757853149f0cb16663cc8b6b6468f27a25f"],"basis":"shared function","functions":["SSRFProtection"]}]},{"from":"CVE-2026-39974","to":"CVE-2026-44694","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["dist/services/n8n-api-client.d.ts.map","dist/services/n8n-api-client.js","dist/services/n8n-api-client.js.map","dist/utils/ssrf-protection.d.ts","dist/utils/ssrf-protection.d.ts.map"],"commits":["https://github.com/czlonkowski/n8n-mcp/commit/d9d847f230923d96e0857ccecf3a4dedcc9b0096","https://github.com/czlonkowski/n8n-mcp/commit/bcaba839409d470abeb4a6ad9b361b553a1098eb"],"basis":"shared function","functions":["N8nApiClient","SSRFProtection"]}]},{"from":"CVE-2026-39974","to":"CVE-2026-45582","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["package.runtime.json"],"commits":["https://github.com/czlonkowski/n8n-mcp/commit/d9d847f230923d96e0857ccecf3a4dedcc9b0096","https://github.com/czlonkowski/n8n-mcp/commit/6cf6fef653fcd6d598f2f356aac4754931c7329f"],"basis":"rarely changed file"}]},{"from":"CVE-2026-39974","to":"CVE-2026-45707","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["dist/http-server-single-session.d.ts.map","dist/http-server-single-session.js","dist/http-server-single-session.js.map","src/http-server-single-session.ts"],"commits":["https://github.com/czlonkowski/n8n-mcp/commit/d9d847f230923d96e0857ccecf3a4dedcc9b0096","https://github.com/czlonkowski/n8n-mcp/commit/853015d0897be7cf2d9d4726de195c938e4395ab"],"basis":"shared function","functions":["SingleSessionHTTPServer"]}]},{"from":"CVE-2026-39974","to":"CVE-2026-55608","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["dist/http-server-single-session.js","dist/http-server-single-session.js.map","package.runtime.json","src/http-server-single-session.ts"],"commits":["https://github.com/czlonkowski/n8n-mcp/commit/d9d847f230923d96e0857ccecf3a4dedcc9b0096","https://github.com/czlonkowski/n8n-mcp/commit/1f42899749ed0c584fb6b4fd63d75233c3edee59","https://github.com/czlonkowski/n8n-mcp/commit/c1ca1e73697feaec5ec2a5fb7e6992a2892b62c9"],"basis":"shared function","functions":["SingleSessionHTTPServer"]}]}],"packageHistory":[{"cve":"CVE-2026-39974","published":"2026-04-09","fixed":"2.47.4","kev":false},{"cve":"CVE-2026-41495","published":"2026-05-08","fixed":"2.47.11","kev":false,"link":{"from":"CVE-2026-39974","to":"CVE-2026-41495","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:n8n-mcp","fromFixed":"2.47.4","toFixed":"2.47.11","daysApart":29}]}},{"cve":"CVE-2026-42282","published":"2026-05-08","fixed":"2.47.13","kev":false},{"cve":"CVE-2026-42449","published":"2026-05-07","fixed":"2.47.14","kev":false}],"package":"npm:n8n-mcp"}}