Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with workflow-edit privileges
-
DeliveryCraft malicious computed-member expression
-
ExploitBypass legacy evaluator sanitizer
-
ExecutionExecute code as n8n process
-
ImpactFull host compromise and lateral impact
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Expression language sanitization
|
| Exploitation Conditions | Exploitation requires an authenticated n8n account with workflow create or modify permissions (CVSS PR:L) and that the target run the legacy expression evaluator, which is the default engine in affected versions - so default deployments are vulnerable, but only to users who can author or edit workflows. The CVSS 4.0 vector also sets AT:P, indicating an additional attack requirement/condition must be met for the sanitizer-bypass in the computed-member handler to succeed. Limiting factors that reduce real-world risk: the attacker cannot be fully unauthenticated (an account with edit rights is mandatory), deployments that have moved off the legacy engine or that lock down workflow-editing RBAC are not reachable, and the attack-requirement (AT:P) means it is not a guaranteed single-shot trigger. No user interaction from a victim is needed (UI:N). |
| Impact | This is a genuine priority rather than an inflated high-CVSS score. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N) shows network reachability, low complexity, and no user interaction, tempered by two real limiting factors: AT:P (a specific attack requirement/condition applies) and PR:L (the attacker must already hold an authenticated account with workflow create/modify rights). The impact metrics are severe and consistent - VC:H/VI:H/VA:H plus subsequent-system SC:H/SI:H (SA:L) - reflecting full compromise of the host and potential lateral impact, which justifies the 8.9 score. No EPSS score, KEV listing, or public POC was provided, so exploitation is not confirmed in the wild; the risk is driven by the low bar for an already-authenticated user and the fact that the vulnerable engine is the default. The chief mitigating reality is the privilege prerequisite: in n8n deployments where workflow editing is tightly restricted, exposure is much narrower than the network vector alone implies. |
| Exploit ScenarioDerived | An attacker who has been granted (or has phished/compromised) an account with workflow edit rights creates or edits a workflow and inserts a specially crafted expression whose computed-member access evades the legacy evaluator's sanitizer. When the expression is evaluated, it executes attacker-controlled code as the n8n process, giving the attacker a foothold on the host. No public POC has been identified at time of analysis, but the low attack complexity means a working exploit would be straightforward once the bypass technique is known. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Host-level remote code execution in n8n (n8n-io) occurs when an authenticated user with workflow create or modify permissions crafts a malicious expression that bypasses the sanitizer in the legacy expression evaluator's computed-member handler, executing arbitrary code as the n8n process. Because the legacy expression engine is the default in affected versions, standard deployments are exposed without any special configuration. No public exploit identified at time of analysis, though the flaw was reported by VulnCheck and carries a high CVSS 4.0 base score of 8.9.
RemediationAI
Upgrade to a patched build appropriate to your branch: n8n 1.123.64, 2.29.8, or 2.30.1 (Vendor-released patch per advisory GHSA-pm35-fqvh-cq5g). Until you can patch, reduce exposure by tightly restricting which users hold workflow create or modify permissions, since exploitation requires that privilege - audit RBAC assignments and remove editing rights from accounts that do not need them. Additionally, avoid exposing the n8n editor/API to untrusted networks by placing it behind a VPN or authenticated reverse proxy and network-segmenting the host, and run the n8n process under a least-privileged, sandboxed/containerized service account so that a successful RCE is contained rather than granting broad host access; the trade-off is added operational overhead and, for restrictive RBAC, reduced self-service workflow authoring for end users. Reference the vendor advisory (https://github.com/n8n-io/n8n/security/advisories/GHSA-pm35-fqvh-cq5g) and VulnCheck advisory (https://www.vulncheck.com/advisories/n8n-before-sanitizer-bypass-remote-code-execution) for authoritative fix details.
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 a source-available workflow-automation platform where nodes and parameters can contain expressions evaluated at runtime. This issue lives in the legacy expression evaluator - the default engine in affected releases - specifically in the handler that resolves computed-member access (bracket/property lookups). The root cause maps to CWE-917 (Expression Language Injection / improper neutralization of special elements used in an expression language statement): the sanitizer intended to restrict what expressions can reference is bypassable through crafted computed-member access, allowing an attacker to reach and invoke host primitives and break out into arbitrary code execution in the Node.js process running n8n. CPE data confirms the affected product as cpe:2.3:a:n8n-io:n8n across an open version range up to the fixed builds.
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:H/VI:H/VA:H/SC:H/SI:H/SA:L
Authenticated workflow-editor (PR:L) exploits a sanitizer bypass with an extra attack requirement (AC:H) over the network to run host code; scope changes (S:C) as the process is fully compromised.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
n8n contains a sanitizer bypass vulnerability in the legacy expression evaluator's computed-member handler. An authenticated user with workflow create or modify permissions can craft a malicious expression to bypass the sanitizer and achieve host-level code execution as the n8n process. The legacy expression engine is the default in affected versions. Fixed in n8n 1.123.64, 2.29.8, and 2.30.1.
Executive ViewAI
A host-level remote code execution vulnerability in n8n (CVE-2026-65591) allows authenticated workflow creators to execute arbitrary code as the n8n process through malicious expressions. This threatens the integrity and availability of your automation infrastructure and could enable lateral movement to connected systems, requiring immediate access restriction and monitoring.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict workflow creation and modification permissions to minimal trusted user set; implement mandatory approval process for new or modified workflows; enable detailed audit logging of all workflow changes; monitor for suspicious expressions and undocumented modifications; consider disabling legacy expression engine if newer engine is available; isolate n8n instances from sensitive downstream systems.
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
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
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
SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute
Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox
EUVD-2026-47635
GHSA-m7jc-p4hf-xhwq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB