CVE-2026-54052: n8n-MCP Cross-tenant Access To Workflow Version Vulnerability

CRITICAL
Advisory Identifier: GHSA-j6r7-6fhx-77wx
CVSS 9.9
CWE-639 CWE-862
Published
Advisory Summary

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

CVE Identifier CVE-2026-54052
GHSA Identifier GHSA-j6r7-6fhx-77wx
Severity CRITICAL
CVSS v3.1 Base Score 9.9
CWE Classification CWE-639: Authorization Bypass Through User-Controlled Key
Affected Product n8n-MCP
Package Ecosystem npm
Published Date
Last Updated

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability Low (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.

n8n-mcp fixed: 2.56.1
npm install n8n-mcp@2.56.1
Verify Direct and Transitive Dependencies

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

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

CVE-2026-54052 Affected n8n-MCP Versions

1 component(s)
Fixed Versions:
2.56.1
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?
CVE-2026-54052 is a security vulnerability in n8n-MCP involving Cross-tenant access to workflow version backups in multi-tenant HTTP deployments under CWE-639: Authorization Bypass Through User-Controlled Key.
Which n8n-MCP versions are affected?
Affected versions include releases prior to 2.56.1 across affected packages: n8n-mcp.
What version fixes CVE-2026-54052?
Upgrading to 2.56.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is n8n-mcp affected?
Yes, n8n-mcp is affected in releases prior to 2.56.1. Upgrade your dependency to 2.56.1 or later.
What is the CVSS score of CVE-2026-54052?
CVE-2026-54052 has a CVSS v3.1 base score of 9.9 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L.
What CWE is associated with CVE-2026-54052?
CVE-2026-54052 is classified under CWE-639: Authorization Bypass Through User-Controlled Key (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.).
How can I check npm dependencies for CVE-2026-54052?
Run the dependency tree command: 'npm ls n8n-mcp'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}