{"id":"CVE-2026-45707","published":"2026-05-29T13:35:42Z","modified":"2026-06-01T19:06:14Z","title":"n8n-MCP: Multi-tenant MCP requests fall back to process-level n8n credentials when tenant headers are absent or…","vendor":"czlonkowski","product":"n8n-mcp","tier":"tail","description":{"text":"n8n-MCP is an MCP server that provides AI assistants access to n8n node documentation, properties, and operations. Prior to 2.51.2, when ENABLE_MULTI_TENANT=true, the HTTP transport documents that the target n8n instance is selected per-request from x-n8n-url / x-n8n-key headers. Requests that omitted those headers — or supplied only one of them — silently fell back to the process-level N8N_API_URL / N8N_API_KEY credentials configured for the operator's own n8n instance. As a result, an authenticated MCP tenant could cause n8n management calls to execute against the operator's instance instead of its own. This affects HTTP-mode deployments of n8n-mcp that are run as a shared multi-tenant service. Single-tenant deployments (ENABLE_MULTI_TENANT unset or false) are not affected. This vulnerability is fixed in 2.51.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00235,"percentile":0.14803,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://github.com/czlonkowski/n8n-mcp/security/advisories/GHSA-jxx9-px88-pj69","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/czlonkowski/n8n-mcp/commit/853015d0897be7cf2d9d4726de195c938e4395ab","tags":["x_refsource_MISC"]},{"url":"https://github.com/czlonkowski/n8n-mcp/releases/tag/v2.51.2","tags":["x_refsource_MISC"]}],"priority":{"score":8.6,"factors":[{"name":"EPSS percentile","points":2.96},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"czlonkowski","affectedVersions":[{"vendor":"czlonkowski","product":"n8n-mcp","versions":["< 2.51.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-01T19:05:28.776003Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n-mcp","vulnerableRanges":["<2.51.2"],"patched":["2.51.2"],"from":["GHSA-jxx9-px88-pj69"],"provenance":"source"}],"summary":{"text":"In n8n-MCP, the HTTP transport in multi-tenant mode (ENABLE_MULTI_TENANT=true) lets requests that omit the x-n8n-url and x-n8n-key headers, or supply only one of them, silently fall back to the operator's own n8n instance credentials instead of rejecting the request. An attacker with only low-privilege authenticated access to the shared MCP service, over the network and without user interaction, can make n8n management calls execute against the operator's n8n instance rather than their own; single-tenant deployments are not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:36Z"},"euvd":{"id":"EUVD-2026-33318","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-czlonkowski-n8n-mcp-cve-2026-39974","parents":[{"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"]}]}],"children":[{"from":"CVE-2026-45707","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","dist/mcp/handlers-n8n-manager.d.ts.map","dist/mcp/handlers-n8n-manager.js","dist/mcp/handlers-n8n-manager.js.map"],"commits":["https://github.com/czlonkowski/n8n-mcp/commit/853015d0897be7cf2d9d4726de195c938e4395ab","https://github.com/czlonkowski/n8n-mcp/commit/1f42899749ed0c584fb6b4fd63d75233c3edee59","https://github.com/czlonkowski/n8n-mcp/commit/c1ca1e73697feaec5ec2a5fb7e6992a2892b62c9"],"basis":"shared function","functions":["SingleSessionHTTPServer","handleDiagnostic"]}]}],"packageHistory":[{"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},{"cve":"CVE-2026-44694","published":"2026-05-08","fixed":"2.50.2","kev":false,"link":{"from":"CVE-2026-44694","to":"CVE-2026-45707","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:n8n-mcp","fromFixed":"2.50.2","toFixed":"2.51.2","daysApart":21}]}},{"cve":"CVE-2026-45707","published":"2026-05-29","fixed":"2.51.2","kev":false},{"cve":"CVE-2026-45582","published":"2026-05-29","fixed":"2.51.3","kev":false,"link":{"from":"CVE-2026-45707","to":"CVE-2026-45582","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:n8n-mcp","fromFixed":"2.51.2","toFixed":"2.51.3","daysApart":0}]}},{"cve":"CVE-2026-54052","published":"2026-07-15","fixed":"2.56.1","kev":false},{"cve":"CVE-2026-55608","published":"2026-07-15","fixed":"2.57.4","kev":false}],"package":"npm:n8n-mcp"}}