Skip to main content

n8n-mcp CVE-2026-54052

CRITICAL
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-07-14 https://github.com/czlonkowski/n8n-mcp GHSA-j6r7-6fhx-77wx
9.9
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as tenant on shared instance
  2. Delivery
    Invoke n8n_workflow_versions tool
  3. Exploit
    Access unscoped cross-tenant version store
  4. Execution
    Read other tenants' node snapshots
  5. Persist
    Harvest credential refs and auth headers
  6. Impact
    Delete or destroy victim backups

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Requires the server running in HTTP mode with multi-tenancy explicitly enabled (ENABLE_MULTI_TENANT=true) and multiple tenants sharing a single instance and database, plus valid authenticated access as one tenant (PR:L). The specific abused feature is the workflow version-history / n8n_workflow_versions tool operating over the shared, un-scoped local version store. Limiting factors that reduce real-world risk: it is inapplicable to stdio/single-user deployments and to single-tenant HTTP deployments, requires at least one authenticated tenant account, and requires the non-default shared multi-tenant configuration; it is not exploitable against a default single-tenant or Claude Desktop (stdio) setup.

Impact

The supplied CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L, score 9.9) is driven largely by the scope change (S:C): a low-privileged authenticated tenant crosses into other tenants' data, yielding high confidentiality and integrity impact with low availability impact. However, the raw 9.9 overstates broad internet risk because exploitation is gated on a specific, non-default deployment: HTTP mode with ENABLE_MULTI_TENANT=true AND more than one tenant sharing one instance and database. There is no KEV listing and no POC referenced, so this is 'no public exploit identified at time of analysis' rather than active exploitation. EPSS was not provided; given the niche product and required configuration, real-world exploitation probability is likely modest and would be targeted (an existing tenant abusing a shared instance) rather than mass-scanned. Net: genuinely high-severity for the specific population running shared multi-tenant instances, but low relevance to the majority of deployments (stdio, single-user, or single-tenant HTTP), which the advisory explicitly marks as not affected.

Exploit ScenarioDerived

On a shared multi-tenant n8n-mcp HTTP instance, a legitimate but malicious tenant authenticates and invokes the workflow-versions tooling to enumerate and read version snapshots belonging to other tenants, harvesting the credential references and authorization headers embedded in their node definitions. The same access lets the attacker delete or destroy victims' backups, causing loss of recovery points. No user interaction and only low tenant-level privileges are required (AV:N/AC:L/PR:L/UI:N); no public POC is currently identified.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 14, 2026

Cross-tenant data exposure in n8n-mcp (npm package, <= 2.56.0) lets an authenticated tenant on a shared multi-tenant HTTP instance read, delete, and destroy the automatic workflow version backups belonging to other tenants. Because each snapshot embeds full node definitions, the leaked data can include credential references and authorization headers, making this both a confidentiality and an integrity/availability failure. Rated CVSS 9.9 due to the scope change across tenant trust boundaries; no public exploit is identified at time of analysis, and it is not listed in CISA KEV.

RemediationAI

Vendor-released patch: 2.56.1 - upgrade to n8n-mcp 2.56.1, which isolates version history per instance and runs a one-time migration that isolates existing history and clears previously stored un-scoped backups (auto-created, short-retention data, so the purge is low impact). Pull the fixed images ghcr.io/czlonkowski/n8n-mcp:v2.56.1 or ghcr.io/czlonkowski/n8n-mcp-railway:v2.56.1, or install n8n-mcp@2.56.1 from npm. If you cannot upgrade immediately, disable the affected tool by setting DISABLED_TOOLS=n8n_workflow_versions in the server environment (e.g. in the Docker .env); this closes the cross-tenant access path for all tenants and leaves automatic backups themselves intact, at the cost of removing the version-history tool. Alternatively, stop running multi-tenant mode and serve each tenant from a separate instance with its own database so no local store is shared, and restrict network access to the HTTP endpoint to trusted operators. References: release notes https://github.com/czlonkowski/n8n-mcp/releases/tag/v2.56.1 and advisory https://github.com/czlonkowski/n8n-mcp/security/advisories/GHSA-j6r7-6fhx-77wx.

Affected Packages

npm n8n-mcp fix: 2.56.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

n8n-mcp is a Model Context Protocol (MCP) server that bridges LLM agents (e.g. Claude) to the n8n workflow-automation platform. In HTTP mode with ENABLE_MULTI_TENANT=true, a single process and database serve multiple tenants. Before every workflow update the server auto-creates a version snapshot (a short-retention backup) in a locally stored version history. The root cause maps to CWE-639 (Authorization Bypass Through User-Controlled Key / insecure direct object reference): the stored version history was keyed and queried without an instance/tenant scope, so lookups and deletions were not constrained to the caller's own tenant. The vendor fix (commit ced57ab) scopes workflow_versions per instance and adds a one-time migration that isolates existing history and purges previously un-scoped backups.

Know when Docker gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
vuln.today AI 9.9 CRITICAL

Authenticated tenant (PR:L) reaches other tenants' data over the network, crossing a trust boundary (S:C) with high confidentiality/integrity and only low availability impact (backups destroyed, service intact).

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
Low

DescriptionNVD

Impact

In multi-tenant HTTP deployments - where a single n8n-mcp server serves several tenants - the locally stored workflow version history (the automatic backups taken before workflow updates) was not isolated per tenant. An authenticated tenant could read workflow version snapshots belonging to other tenants, and could delete or destroy other tenants' stored backups.

A stored snapshot includes full node definitions, so the exposed data can contain credential references and authorization headers configured on nodes. This is therefore a confidentiality issue in addition to an integrity/availability one.

Affected configurations

  • HTTP mode with multi-tenancy enabled (ENABLE_MULTI_TENANT=true), where multiple tenants are served by a single shared instance and database.

Not affected:

  • stdio / single-user deployments (e.g. Claude Desktop).
  • Single-tenant HTTP deployments (one tenant per instance and database).

Affected versions

<= 2.56.0

Patched version

2.56.1. The stored version history is now isolated per instance, so a tenant can only access its own backups. Upgrading runs a one-time migration that isolates existing history and clears previously stored, un-scoped backups (these are auto-created, short-retention backups).

Workarounds

If users cannot upgrade immediately:

  • Disable the workflow version tool by setting DISABLED_TOOLS=n8n_workflow_versions in the server environment (for example, in your Docker .env). This removes the affected tool from the deployment for all tenants; automatic backups are unaffected, but the cross-tenant access path is closed.
  • Alternatively, do not run in multi-tenant mode - serve each tenant from a separate instance with its own database, so no local store is shared between tenants.
  • Restrict network access to the HTTP endpoint to trusted operators.

stdio and single-tenant HTTP deployments are not affected.

Credit

Reported by Francisco Rosales (@0xmagic0) and coordinated by Ax Sharma (@axsharma) of Manifold Security.

Executive ViewAI

Why It Matters

n8n-mcp versions 2.56.0 and earlier enable cross-tenant access to workflow backups on shared deployments, exposing other customers' credentials and sensitive data to unauthorized access and deletion. Companies operating multi-tenant architectures face immediate risk of customer data breaches, credential compromise, regulatory fines, and loss of customer confidence. Urgent action required to isolate instances and rotate compromised credentials.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: Restrict workflow backup access by tenant identity at the application layer; segregate or isolate multi-tenant instances; limit HTTP exposure; rotate all embedded workflow credentials; implement detailed audit logging of backup access and modifications; disable automatic version backups if operationally acceptable; monitor for vendor advisory and patch availability.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Low
niche n8n MCP server; shared multi-tenant HTTP mode is uncommon
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)NVD

pkg:npm/n8n-mcp

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy