CVE-2026-110842: n8n: prototype pollution in MCP tool enables privilege escalation
UNKNOWNn8n versions before 2.41.4 and 2.42.x before 2.42.1 have a prototype pollution flaw in the MCP workflow-validation tool. The tool evaluates caller-supplied code in the main server process. A low-privileged member holding only workflow:read can overwrite a built-in method so that server-side permission checks accept scopes the user does not hold, which can lead to takeover of owner accounts that lack MFA. No CVSS score, EPSS value, KEV listing or public exploit is available yet, so exploitation likelihood is unquantified. Because n8n is widely used to orchestrate AI agents and holds credentials for many downstream systems, owner takeover gives broad blast radius. Upgrade to 2.41.4 or 2.42.1 now, enforce MFA on all owner and admin accounts, and review who holds member accounts with MCP access.
What is the risk?
Risk is high for any multi-user n8n instance that exposes the MCP feature, but the score is not yet published. The attacker must be authenticated with a minimal workflow:read grant, which is a low bar in shared or multi-tenant deployments. The effect is a complete authorization bypass, because the polluted prototype affects the shared process and not just the attacker's own session. Because code runs in the main process, the impact may extend beyond permission bypass to wider server compromise. Owner accounts protected by MFA are explicitly not affected by the described takeover path. There is no evidence of active exploitation or a public exploit, and no Nuclei template exists. Exposure is lower for single-user instances.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| n8n | npm | — | No patch |
Do you use n8n? You're affected.
How severe is it?
What should I do?
1 step1) Upgrade to n8n 2.41.4 or 2.42.1 or later. 2) Until patched, disable or restrict access to the MCP feature and workflow-validation tool where possible. 3) Enforce MFA on all owner and admin accounts. 4) Audit member accounts and remove unneeded workflow:read grants, especially for external or shared users. 5) Review audit logs for unusual MCP validation calls, unexpected permission changes, new owner sessions or password resets. 6) Rotate credentials stored in n8n if owner compromise is suspected. 7) Restrict network access to the n8n instance and put it behind SSO or a VPN.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-110842?
n8n versions before 2.41.4 and 2.42.x before 2.42.1 have a prototype pollution flaw in the MCP workflow-validation tool. The tool evaluates caller-supplied code in the main server process. A low-privileged member holding only workflow:read can overwrite a built-in method so that server-side permission checks accept scopes the user does not hold, which can lead to takeover of owner accounts that lack MFA. No CVSS score, EPSS value, KEV listing or public exploit is available yet, so exploitation likelihood is unquantified. Because n8n is widely used to orchestrate AI agents and holds credentials for many downstream systems, owner takeover gives broad blast radius. Upgrade to 2.41.4 or 2.42.1 now, enforce MFA on all owner and admin accounts, and review who holds member accounts with MCP access.
Is CVE-2026-110842 actively exploited?
No confirmed active exploitation of CVE-2026-110842 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-110842?
1) Upgrade to n8n 2.41.4 or 2.42.1 or later. 2) Until patched, disable or restrict access to the MCP feature and workflow-validation tool where possible. 3) Enforce MFA on all owner and admin accounts. 4) Audit member accounts and remove unneeded workflow:read grants, especially for external or shared users. 5) Review audit logs for unusual MCP validation calls, unexpected permission changes, new owner sessions or password resets. 6) Rotate credentials stored in n8n if owner compromise is suspected. 7) Restrict network access to the n8n instance and put it behind SSO or a VPN.
What systems are affected by CVE-2026-110842?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, workflow automation platforms, MCP servers, LLM tool orchestration.
What is the CVSS score for CVE-2026-110842?
No CVSS score has been assigned yet.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0012Valid AccountsAML.T0050Command and Scripting InterpreterAML.T0053AI Agent Tool InvocationAML.T0106Exploitation for Credential AccessCompliance Controls Affected
What are the technical details?
Original Advisory
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.
Exploitation Scenario
An attacker obtains or is granted a low-privileged member account with workflow:read on a shared n8n instance. They call the MCP workflow-validation tool with crafted code that assigns a function returning true onto a shared prototype, replacing a built-in method used by permission checks. Server-side authorization then accepts scopes the attacker does not hold. The attacker uses the elevated access to reset or take over an owner account without MFA, then extracts stored credentials and modifies AI agent workflows to exfiltrate data or maintain persistence.
Weaknesses (CWE)
CWE-1321Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')PrimaryCWE-1321Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')CWE-1321 — Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'): The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
- [Implementation] By freezing the object prototype first (for example, Object.freeze(Object.prototype)), modification of the prototype becomes impossible.
- [Architecture and Design] By blocking modifications of attributes that resolve to object prototype, such as proto or prototype, this weakness can be mitigated.
Source: MITRE CWE corpus.
References
Timeline
Related Vulnerabilities
CVE-2026-3366310.0n8n: member role steals plaintext HTTP credentials
Same package: n8nCVE-2026-3366010.0TensorFlow: type confusion NPD in tensor conversion
Same package: n8nCVE-2026-2185810.0n8n: Input Validation flaw enables exploitation
Same package: n8nCVE-2026-275779.9n8n: Code Injection enables RCE
Same package: n8nCVE-2026-274949.9n8n: security flaw enables exploitation
Same package: n8n