Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to n8n as editor user
-
DeliveryCreate workflow containing XML node
-
ExploitSubmit crafted XML payload polluting Object.prototype
-
ExecutionChain downstream node consuming polluted property
-
PersistTrigger workflow execution
-
ImpactExecute arbitrary code on n8n host
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated user account on the target n8n instance that holds the permission to create or modify workflows - the n8n RBAC role granting workflow editor rights is the minimum prerequisite (CVSS PR:L). The XML node ( |
| Impact | Signals are mixed: the vendor's CVSS 4.0 score of 9.4 and CVSS 3.1 of 9.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H) indicate network-reachable RCE with scope change and high impact across confidentiality, integrity, and availability, but PR:L confirms a low-privileged authenticated user - specifically one already trusted to create or modify workflows - is required, which materially narrows the attacker population. EPSS is very low at 0.05% (15th percentile) and the CVE is not on CISA KEV, and no public exploit identified at time of analysis, so this is currently a high-severity but low-observed-exploitation issue. The realistic threat profile is hosted/multi-tenant n8n deployments and any environment where workflow-editor permissions are granted broadly (e.g., to semi-trusted business users), where a malicious or compromised editor account can pivot to host RCE; single-operator self-hosted instances with no untrusted editors are at substantially lower real-world risk despite the headline 9.4. |
| Exploit ScenarioDerived | An attacker with a low-privileged editor account on a shared or hosted n8n instance creates a workflow that uses the XML node to parse a crafted XML payload, which poisons |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 23, 2026
Remote code execution in n8n workflow automation platform is possible via a prototype pollution patch bypass in the XML node, affecting versions prior to 1.123.43, 2.20.7, and 2.22.1. Authenticated users with workflow creation or modification permissions can bypass the prior fix for GHSA-hqr4-h3xv-9m3r and, by chaining the XML node with other nodes, achieve code execution on the n8n host. No public exploit identified at time of analysis, though EPSS is low (0.05%) suggesting limited near-term mass exploitation despite the high CVSS 4.0 score of 9.4.
Earlier versions of this analysis (2)
Remote code execution in n8n workflow automation platform is achievable by authenticated users with workflow creation/modification privileges, who can bypass the earlier patch for GHSA-hqr4-h3xv-9m3r in the XML node and chain it with other nodes to execute arbitrary code on the host. The flaw is rooted in prototype pollution (CWE-1321) within XML processing, affecting n8n versions prior to 1.123.43, 2.20.7, and 2.22.1. No public exploit identified at time of analysis, and EPSS sits at 0.05% (15th percentile), but the CVSS 4.0 base score of 9.4 reflects the severe RCE outcome once authenticated workflow access is obtained.
Remote code execution in n8n workflow automation platform allows authenticated users with workflow editing permissions to exploit a prototype pollution patch bypass in the XML node component. The vulnerability (CVE-2026-44791) affects n8n versions prior to 1.123.43, 2.20.7, and 2.22.1, building on a previous incomplete fix (GHSA-hqr4-h3xv-9m3r). Vendor-released patches are available across all affected version branches. CVSS 3.1 score of 9.9 (Critical) reflects network-accessible attack requiring low-privilege authentication with changed scope enabling full system compromise. No public exploit identified at time of analysis, though the existence of a prior related vulnerability (GHSA-hqr4-h3xv-9m3r) suggests attackers familiar with the original issue could adapt techniques.
RemediationAI
Vendor-released patch: upgrade to n8n 1.123.43, 2.20.7, or 2.22.1 (or any later release on those lines) as documented in advisory https://github.com/n8n-io/n8n/security/advisories/GHSA-wrwr-h859-xh2r. If immediate upgrade is not possible, restrict workflow create/edit permissions to a small set of fully trusted operators via n8n's RBAC, which removes the low-privilege attacker pool but breaks delegated workflow authoring and self-service automation use cases. As a second compensating control, disable the XML node entirely by adding n8n-nodes-base.xml to the NODES_EXCLUDE environment variable and restarting the instance; the trade-off is that any existing workflows depending on XML parsing will fail until refactored to use an alternative parser node. The vendor explicitly states these workarounds do not fully remediate the risk and should be treated as short-term mitigations only.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
n8n is a popular open-source workflow automation platform distributed as the npm package n8n. The flaw is classified as CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes, i.e. Prototype Pollution), a JavaScript-specific class of bug where attacker-controlled keys reach Object.prototype and pollute properties inherited by every object in the runtime. The vulnerability lives in n8n's built-in XML node (n8n-nodes-base.xml), which parses untrusted XML into JavaScript objects; an earlier patch for GHSA-hqr4-h3xv-9m3r blocked one pollution path, and this CVE represents an incomplete-fix bypass of that mitigation. Because n8n executes workflow logic in Node.js, polluted prototype properties can influence the behavior of subsequent nodes in the same workflow, which is how the bypass is escalated to remote code execution on the host process.
Know when Prototype Pollution gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Network-reachable web UI/API (AV:N), reliable prototype pollution chain (AC:L), requires workflow-editor account (PR:L), no second-user interaction (UI:N), RCE on host changes scope (S:C) with full CIA impact.
Primary rating from Vendor (https://github.com/n8n-io/n8n).
CVSS VectorVendor: https://github.com/n8n-io/n8n
Lifecycle Timeline
4DescriptionCVE.org
Impact
An authenticated user with permission to create or modify workflows could bypass the patch for GHSA-hqr4-h3xv-9m3r in the XML node. When combined with other nodes, this could lead to RCE on the n8n host.
Patches
The issue has been fixed in n8n versions 1.123.43, 2.20.7, and 2.22.1. Users should upgrade to one of these versions or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Limit workflow creation and editing permissions to fully trusted users only.
- Disable the XML node by adding
n8n-nodes-base.xmlto theNODES_EXCLUDEenvironment variable.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
--- n8n has adopted CVSS 4.0 as primary score for all security advisories. CVSS 3.1 vector strings are provided for backwards compatibility.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Executive ViewAI
n8n workflow automation platform contains a critical remote code execution vulnerability that allows authenticated users with workflow modification permissions to bypass prior security controls and execute arbitrary code on the host system. This directly threatens organizations using n8n for business-critical automation and creates insider threat exposure-compromised user accounts or malicious insiders could compromise the entire automation infrastructure and connected downstream systems. Immediate patching is required to restore security posture.
Apply vendor patch: upgrade to patched versions 1.123.43 (v1 branch), 2.20.7 (v2.20 branch), or 2.22.1 (v2.22+ branch). Interim: restrict workflow creation/modification permissions to highest-confidence users only and implement real-time audit logging of workflow changes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Prototype Pollution
View allPrototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu
All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (
Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau
The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co
This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service
A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi
A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function
All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s
This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr
Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser
alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde
EUVD-2026-38485
GHSA-wrwr-h859-xh2r
NVD
CVE.org
EPSS
VulDB
Exploit-DB