Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain workflow-editor account on n8n
-
DeliveryCreate workflow with HTTP Request node
-
ExploitInject __proto__ key via pagination parameter
-
InstallPollute global Object prototype
-
C2Trigger downstream gadget for code execution
-
ExecuteExecute commands as n8n service account
-
ImpactCompromise instance and stored credentials
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 | Attacker must hold an authenticated n8n account with permission to create or modify workflows (n8n's owner, admin, or member role with workflow write access), and the instance must be running an unpatched version on the 1.x branch (< 1.123.43) or 2.x branch (< 2.20.7, or 2.21.0-2.22.0). The HTTP Request node (n8n-nodes-base.httpRequest) must be enabled (default) and reachable from the attacker's workflow. Achieving RCE specifically requires chaining the prototype pollution primitive with a second gadget - the advisory does not guarantee RCE from this CVE alone, only that it is reachable 'combined with other techniques'. Exploitation is limited by: required workflow-edit privilege (not anonymous), no user interaction needed beyond the attacker's own workflow execution, and applicability only where the HTTP Request node has not been excluded via NODES_EXCLUDE. |
| Impact | Vendor scoring (CVSS 4.0 9.4 / CVSS 3.1 9.8 with scope change) reflects the worst-case RCE outcome, but key signals temper the real-world urgency: PR:L means an authenticated workflow-editor account is required, not anonymous internet access, and EPSS is 0.05% (16th percentile) with no public PoC and no CISA KEV listing. The 'remote' AV:N applies because n8n is typically exposed over HTTP, but in practice exploitation requires a hostile or compromised insider/operator account with workflow editing rights - a privilege normally held only by trusted automation engineers. The realistic priority profile is high for multi-tenant or community-shared n8n instances (where untrusted users may have workflow permissions) and moderate for single-team self-hosted deployments behind SSO. The advisory's note that RCE requires chaining with 'other techniques' suggests the prototype pollution primitive is confirmed but the end-to-end exploit gadget is not trivially weaponizable from this CVE alone. |
| Exploit ScenarioDerived | A compromised or malicious n8n user with workflow-edit permissions creates or edits a workflow containing an HTTP Request node, supplying a crafted pagination parameter that injects '__proto__' keys into the request configuration object, polluting Object.prototype globally within the n8n Node.js process. The attacker then chains this primitive - for example by triggering a downstream code path whose behavior depends on a polluted property - to achieve arbitrary code execution as the n8n service account, taking over the instance and any stored credentials. No public exploit identified at time of analysis, though the underlying prototype-pollution-to-RCE technique class is well documented in Node.js security research. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 23, 2026
Prototype pollution leading to remote code execution in n8n workflow automation platform allows authenticated users with workflow create/modify permissions to corrupt the global Object prototype via an unvalidated pagination parameter in the HTTP Request node. Affecting n8n versions before 1.123.43, 2.20.7, and 2.22.1, the flaw chains with other techniques to escalate to full instance compromise. No public exploit identified at time of analysis, with EPSS at 0.05% (16th percentile) indicating low observed exploitation interest despite CVSS 4.0 9.4 critical rating.
Earlier versions of this analysis (2)
Prototype pollution in the n8n workflow automation platform's HTTP Request node allows authenticated users with workflow create/edit permission to corrupt the global Object prototype via an unvalidated pagination parameter, which the vendor states can be chained with other techniques to achieve remote code execution on the host instance. The flaw affects n8n versions before 1.123.43, 2.20.7, and 2.22.1 across self-hosted and cloud deployments. No public exploit identified at time of analysis and EPSS probability is low (0.05%), but the CVSS 4.0 score of 9.4 and confirmed scope change make this a high-priority patch for any multi-tenant n8n instance.
Prototype pollution in n8n's HTTP Request node enables authenticated users with workflow permissions to achieve remote code execution. The vulnerability stems from an unvalidated pagination parameter that can be exploited to pollute JavaScript's global prototype, which combined with chaining techniques escalates to arbitrary code execution on the n8n instance. Affects n8n versions prior to 1.123.43, 2.0.0-rc.0 through 2.20.6, and 2.21.0 through 2.22.0. Vendor-released patches are available for all affected branches. No public exploit code or active exploitation (CISA KEV) identified at time of analysis, though the technical details in the GitHub advisory provide sufficient information for exploit development by skilled attackers.
RemediationAI
Vendor-released patch: upgrade to n8n 1.123.43, 2.20.7, or 2.22.1 (or later) per the version branch in use, as documented in the GitHub Security Advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-c8xv-5998-g76h. If immediate upgrade is not possible, restrict workflow create and edit permissions to fully trusted operators only via n8n's role-based access controls - this directly removes the attacker prerequisite but is operationally disruptive for teams that delegate workflow authoring widely. As a second compensating control, disable the HTTP Request node entirely by adding n8n-nodes-base.httpRequest to the NODES_EXCLUDE environment variable; this eliminates the vulnerable code path but breaks any existing workflow that performs outbound HTTP calls, which is a core n8n use case and will likely halt many production automations. The vendor explicitly notes these workarounds do not fully remediate the risk.
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 (fair-code licensed) built on Node.js, allowing users to chain HTTP requests, webhooks, and integrations into automation pipelines. The root cause is CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes - 'Prototype Pollution'), a JavaScript-specific class of bug where attacker-controlled keys (e.g., '__proto__', 'constructor.prototype') are merged into objects without filtering, mutating the global Object prototype and affecting all subsequent object lookups across the process. The vulnerable input path is the pagination parameter handling of the n8n-nodes-base.httpRequest node, where user-supplied data is processed without key sanitization. In Node.js environments, prototype pollution frequently chains into RCE via gadgets such as polluted child_process options, template engines, or library configuration objects - the advisory explicitly notes 'combined with other techniques this could lead to RCE'. Affected CPE is pkg:npm/n8n across multiple release lines (1.x and 2.x).
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 HTTP UI with low-privileged workflow-editor account (PR:L); AC:H because full RCE requires chaining a separate gadget per vendor; scope unchanged as impact stays within the n8n process.
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 achieve global prototype pollution via an unvalidated pagination parameter in the HTTP Request node. Combined with other techniques this could lead to RCE on the instance.
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 HTTP Request node by adding
n8n-nodes-base.httpRequestto 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 prototype pollution flaw (CVE-2026-44789) enabling authenticated users to execute arbitrary code and compromise the entire instance. Organizations depending on n8n for automated processes face potential business disruption, data exposure, and infrastructure takeover.
Apply vendor patch: n8n 1.123.43, 2.20.7, or 2.22.1. Interim: Restrict workflow creation/modification permissions to trusted administrators only; enable and monitor workflow audit logs for anomalous 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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-38483
GHSA-c8xv-5998-g76h
NVD
CVE.org
EPSS
VulDB
Exploit-DB