# CVE-2026-45707: n8n-MCP: Multi-tenant MCP requests fall back to process-level n8n credentials when tenant headers are absent or incomplete

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.41% (percentile 27, 2026-11-26)
- **CWE:** CWE-284
- **Aliases:** GHSA-jxx9-px88-pj69
- **Published:** 2026-05-18T17:41:42.000Z
- **Modified:** 2026-07-21T12:10:00.090Z

## Who should check

- Projects that depend on npm package n8n-mcp (\< 2.51.2)
- Anyone running czlonkowski n8n-mcp \< 2.51.2

## 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

- npm `n8n-mcp`: affected \< 2.51.2; fixed 2.51.2 (osv)
- czlonkowski n8n-mcp: \< 2.51.2 (cvelist)

## Mitigation

- Upgrade n8n-mcp to 2.51.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/czlonkowski/n8n-mcp/security/advisories/GHSA-jxx9-px88-pj69>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-45707>
- patch: <https://github.com/czlonkowski/n8n-mcp/commit/853015d0897be7cf2d9d4726de195c938e4395ab>
- other: <https://github.com/czlonkowski/n8n-mcp/releases/tag/v2.51.2>
- other: <https://github.com/czlonkowski/n8n-mcp>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-45707>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jxx9-px88-pj69> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-45707> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-45707>
