Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to n8n REST API
-
DeliverySubmit workflow with __proto__ node key
-
ExploitInstance AI invokes summarizeWorkflowStructure
-
ExecutionUnsanitized key pollutes Object.prototype
-
ImpactSubsequent process requests disrupted or crashed
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 | Exploitation requires: (1) an authenticated account on the target n8n instance with at least workflow-creation/submission privileges via the REST API (CVSS PR:L); (2) the Instance AI feature must be active and capable of invoking |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H) accurately reflects the threat model: network-reachable, low-privilege, but requiring the Instance AI feature to be active (AT:P). The primary real-world impact is availability - a low-privilege n8n user can pollute the global JavaScript prototype and destabilize the entire n8n server process, effectively denying service to all other users sharing that instance. Integrity and confidentiality impacts are not directly established by the available data, though prototype pollution in JavaScript can sometimes be chained into privilege escalation or security bypass in other code paths; such chaining has not been confirmed for this specific flaw. No public exploit code and no KEV listing exist at time of analysis, limiting immediate automated exploitation risk - even a mid-sized municipal IT team in kielce running a self-hosted n8n instance should treat this as an urgent patch given the low barrier for any authenticated user to trigger process-wide disruption. The EPSS score is not provided in the input data, so exploitation probability cannot be quantified from that signal. |
| Exploit ScenarioDerived | An authenticated n8n user with basic workflow-creation privileges submits a REST API request containing a workflow definition in which one or more node names or connection keys are set to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Prototype pollution in n8n's Instance AI workflow summary feature allows authenticated users to disrupt the main n8n process by submitting crafted workflows via the REST API. The summarizeWorkflowStructure function in packages/@n8n/instance-ai/src/tools/workflows/summarize-workflow.ts uses workflow node names and connection keys as raw JavaScript object keys without sanitization, so keys such as __proto__ or constructor cause nested writes to reach Object.prototype in the main process and corrupt the JavaScript runtime state. This renders the n8n instance unreliable or unavailable for subsequent requests, making it a targeted denial-of-service attack requiring only low-privilege API access. No public exploit and no CISA KEV listing have been identified at time of analysis; patches are available in versions 2.37.7 and 2.38.2.
RemediationAI
Upgrade to n8n 2.37.7 (patch-branch fix, released 2026-09-02) or n8n 2.38.2 (main-branch fix) as the primary remediation. Release notes and tags are confirmed at https://github.com/n8n-io/n8n/releases/tag/n8n%402.37.7 and https://github.com/n8n-io/n8n/releases/tag/n8n%402.38.2. The GitHub Security Advisory GHSA-679f-58pq-4v2c at https://github.com/n8n-io/n8n/security/advisories/GHSA-679f-58pq-4v2c provides full details. If immediate upgrade is not possible, disabling the Instance AI workflow summary feature or restricting REST API access to trusted, highly-privileged users only would reduce the attack surface, at the cost of losing AI-driven workflow analysis functionality. Multi-tenant or shared n8n deployments are at highest risk and should prioritize patching, since a single low-privilege user can destabilize the process for all other tenants.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
n8n is an open-source, Node.js-based workflow automation platform that allows users to build integrations via a visual editor and REST API. The affected code path is in the Instance AI feature's summarizeWorkflowStructure utility, which introspects stored workflow definitions to produce structural summaries. In JavaScript, if user-controlled strings are used as property keys on plain objects without a hasOwnProperty guard or Object.create(null) base, keys like __proto__ will traverse the prototype chain and write properties onto Object.prototype itself - a class of vulnerability catalogued under CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes). Because Node.js shares a single Object.prototype across the process, pollution of this base object affects all subsequent object operations in the process, potentially causing unexpected behavior, crashes, or security bypass in unrelated request handlers.
Know when N8n 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:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Network-delivered via REST API, low complexity, requires low-privilege auth; scope unchanged; impact is availability-only (DoS via prototype pollution).
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
n8n is an open source workflow automation platform. Prior to 2.37.7 and 2.38.2, the Instance AI workflow summary used node names and connection keys from stored workflows as ordinary object keys. A workflow submitted through the REST API could contain __proto__ or constructor, causing nested writes to reach Object.prototype in the main n8n process and disrupt later requests. The affected function is summarizeWorkflowStructure in packages/@n8n/instance-ai/src/tools/workflows/summarize-workflow.ts. This issue is fixed in versions 2.37.7 and 2.38.2.
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
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger
An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
EUVD-2026-74278
GHSA-679f-58pq-4v2c
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB