CVE-2026-110842

n8n before 2.41.4 and 2.42.1 Prototype Pollution via MCP Workflow-Validation Interpreter

Published Oct 14, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-1321

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 15, 2026, 1:44 PM
Reserved
Oct 14, 2026, 10:12 PM
Status
Deferred
Published
Oct 14, 2026, 11:17 PM
Modified
Oct 15, 2026, 2:17 PM