CVE-2026-54052: n8n-MCP Cross-tenant Access To Workflow Version Vulnerability
CRITICALCVE-2026-54052 is a CRITICAL (CVSS 9.9) cross-tenant access to workflow version vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting n8n-MCP libraries in the npm ecosystem. The issue involves cross-tenant access to workflow version backups in multi-tenant http deployments. Remediation is available by upgrading affected packages to version 2.56.1.
CVE-2026-54052 at a Glance
Security Impact
CVSS: 9.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L).
How to Fix CVE-2026-54052
To remediate this vulnerability, upgrade all affected n8n-MCP dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install n8n-mcp@2.56.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls n8n-mcp
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-54052, inspect your project dependencies using npm:
npm ls n8n-mcp
Analyze the terminal output to locate any version of n8n-MCP in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.56.1), your application is affected.
Note: The npm ls n8n-mcp command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In n8n-MCP, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-54052 Affected n8n-MCP Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
n8n-mcp
|
npm |
< 2.56.1
|
2.56.1
|
References
Frequently Asked Questions
What is CVE-2026-54052?
Which n8n-MCP versions are affected?
What version fixes CVE-2026-54052?
Is n8n-mcp affected?
What is the CVSS score of CVE-2026-54052?
What CWE is associated with CVE-2026-54052?
How can I check npm dependencies for CVE-2026-54052?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j6r7-6fhx-77wx",
"modified" : "2026-07-14T19:07:14Z",
"published" : "2026-07-14T19:07:14Z",
"aliases" : [ "CVE-2026-54052" ],
"summary" : "n8n-MCP: Cross-tenant access to workflow version backups in multi-tenant HTTP deployments",
"details" : "## Impact\n\nIn 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.\n\nA 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.\n\n## Affected configurations\n\n- HTTP mode with multi-tenancy enabled (`ENABLE_MULTI_TENANT=true`), where multiple tenants are served by a single shared instance and database.\n\nNot affected:\n\n- stdio / single-user deployments (e.g. Claude Desktop).\n- Single-tenant HTTP deployments (one tenant per instance and database).\n\n## Affected versions\n\n`<= 2.56.0`\n\n## Patched version\n\n`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).\n\n## Workarounds\n\nIf users cannot upgrade immediately:\n\n- 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.\n- 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.\n- Restrict network access to the HTTP endpoint to trusted operators.\n\nstdio and single-tenant HTTP deployments are not affected.\n\n## Credit\n\nReported by Francisco Rosales (@0xmagic0) and coordinated by Ax Sharma (@axsharma) of Manifold Security.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "n8n-mcp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.56.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.56.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/czlonkowski/n8n-mcp/security/advisories/GHSA-j6r7-6fhx-77wx"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/czlonkowski/n8n-mcp"
}, {
"type" : "WEB",
"url" : "https://github.com/czlonkowski/n8n-mcp/releases/tag/v2.56.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-639", "CWE-862" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-14T19:07:14Z",
"nvd_published_at" : null
}
}