CVE-2026-45707
n8n-MCP: Multi-tenant MCP requests fall back to process-level n8n credentials when tenant headers are absent or incomplete
Also known as GHSA-jxx9-px88-pj69
Mitigation
- Upgrade n8n-mcp to 2.51.2 or later.
Who should check
- Projects that depend on npm package n8n-mcp (< 2.51.2)
- Anyone running czlonkowski n8n-mcp < 2.51.2
Vulnerability facts
- Affected
- n8n-mcp < 2.51.2
- Fixed in
- 2.51.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 8.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.41% chance of exploitation in 30 days (percentile 27, 2026-11-26)
- CWE
- CWE-284
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm n8n-mcp | < 2.51.2 | 2.51.2 | osv |
| czlonkowski n8n-mcp | < 2.51.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-45707. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-45707.md Affected: n8n-mcp < 2.51.2 Fixed in: 2.51.2 Steps: 1. Search this machine and project for n8n-mcp (npm), czlonkowski n8n-mcp: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-45707 being exploited?
There is no confirmed exploitation: CVE-2026-45707 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.41% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-45707?
High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-45707?
n8n-mcp < 2.51.2.
Is there a fix for CVE-2026-45707?
Yes. Fixed in 2.51.2. Upgrade n8n-mcp to 2.51.2 or later.
How do I check if I'm affected by CVE-2026-45707?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.