Description
n8n before 2.41.4 and 2.42.x before 2.42.1 contains a prototype pollution vulnerability in the MCP workflow-validation tool, whose interpreter evaluates caller-supplied code in the main process, reads inherited properties, and permits assignment onto shared prototypes. An authenticated member holding only a workflow:read grant can replace a built-in method with one returning a truthy value so server-side permission checks accept unheld scopes, enabling takeover of owner accounts not protected by MFA.
Published: 2026-10-14
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege escalation leading to account takeover
Action: Apply patch
AI Analysis

Impact

A prototype pollution vulnerability in n8n occurs when the MCP workflow-validation interpreter evaluates caller-supplied code within the main process. This flaw allows the interpreter to read inherited properties and assign values onto shared prototypes, effectively replacing built‑in methods. An attacker who can only read workflows can exploit this by substituting a built‑in method with one that always returns a truthy value, causing subsequent server‑side permission checks to mistakenly grant scopes the attacker does not hold. The result is full takeover of owner accounts that lack multi‑factor authentication.

Affected Systems

The vulnerability exists in n8n before versions 2.41.4 and 2.42.1. The affected vendor is n8n‑io, product n8n. Systems running any of these versions are susceptible.

Risk and Exploitability

The CVSS score of 7.7 signals high severity, and the EPSS score is currently unavailable. The flaw is not listed in the CISA KEV catalog. To exploit, an authenticated user with a workflow:read permission can upload or modify a workflow that invokes the MCP workflow-validation tool. Because the interpreter executes code in the main process, the attacker can inject prototype pollution that propagates across the application, bypassing the principal’s permission checks. Successful exploitation allows the attacker to assume the ownership of the account, especially when multi‑factor authentication has not been enabled.

Generated by OpenCVE AI on October 15, 2026 at 12:11 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade n8n to version 2.41.4 or later, including 2.42.1 and newer releases, to eliminate the prototype pollution flaw.
  • Until a patch is available, limit the workflow:read permission to trusted users only, or revoke it from all users, and enforce MFA on owner accounts.
  • Conduct an audit of existing workflows and remove any that perform arbitrary JavaScript evaluation or contain legacy code that could trigger the interpreter.

Generated by OpenCVE AI on October 15, 2026 at 12:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 15 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 14 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
Description n8n before 2.41.4 and 2.42.x before 2.42.1 contains a prototype pollution vulnerability in the MCP workflow-validation tool, whose interpreter evaluates caller-supplied code in the main process, reads inherited properties, and permits assignment onto shared prototypes. An authenticated member holding only a workflow:read grant can replace a built-in method with one returning a truthy value so server-side permission checks accept unheld scopes, enabling takeover of owner accounts not protected by MFA.
Title n8n before 2.41.4 and 2.42.1 Prototype Pollution via MCP Workflow-Validation Interpreter
First Time appeared N8n
N8n n8n
Weaknesses CWE-1321
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-15T13:44:50.036Z

Reserved: 2026-10-14T22:12:22.055Z

Link: CVE-2026-110842

cve-icon Vulnrichment

Updated: 2026-10-15T13:44:44.143Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T23:17:24.637

Modified: 2026-10-15T14:17:20.867

Link: CVE-2026-110842

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-15T12:15:06Z

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')