Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege n8n member
-
DeliveryStore malicious expression in resource-locator field of a shared node
-
ExploitWait for privileged user to open affected node in editor
-
ExecutionExpression evaluated as JavaScript in victim's authenticated session
-
ImpactExfiltrate session credentials or invoke API actions as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
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 the attacker to hold at minimum a 'member' role in the target n8n instance with write access to create or edit nodes that contain resource-locator fields. The victim must actively open the affected node in the n8n visual editor - passive browsing of the workspace does not trigger the injection. The vulnerability is limited to the editor's link preview rendering path, so non-editor workflows (e.g., triggered executions without editor interaction) do not expose the flaw. Single-user n8n instances are not exploitable cross-user. Multi-tenant or team-deployed n8n instances where untrusted members share a workspace with privileged users represent the at-risk deployment model. The CVSS vector (PR:L/UI:A) confirms both prerequisites: low-privilege attacker authentication and active victim interaction are required. |
| Impact | The CVSS 4.0 score of 8.4 is well-supported by the vulnerability's mechanics: high confidentiality and integrity impact on the vulnerable system (VC:H/VI:H) reflects the ability to read and act within the victim's authenticated n8n session, including potentially accessing API credentials, external service tokens, and workflow data stored in n8n. Scope change metrics (SC:L/SI:L) indicate limited but real spillover to connected systems the victim's session can reach. The attack is low-complexity and requires only a low-privilege account, but critically depends on victim interaction (UI:A - the victim must open the affected node), which moderates real-world exploitation risk. There is no CISA KEV listing and no confirmed public exploit, making this a credible but not currently mass-exploited issue. EPSS data is not available in the provided input. The primary real-world risk is insider threat or multi-tenant n8n deployments where untrusted members share a workspace with privileged users; self-hosted single-user instances are unexploitable. The CVSS vector and description are consistent - no conflicts identified. |
| Exploit ScenarioDerived | An attacker with a low-privilege member account in a shared n8n workspace creates or edits a workflow node containing a resource-locator field, storing a value with embedded n8n expression syntax that exfiltrates the opener's session token or triggers an API call using the victim's credentials. When a higher-privileged user (such as an owner or admin) opens that workflow node in the n8n editor, the injected expression executes in their authenticated browser session, potentially exposing their API keys, external service credentials, or allowing workflow manipulation under their identity. No public POC has been confirmed, but the attack mechanism is straightforward for anyone familiar with n8n's expression engine. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Expression injection in n8n's workflow editor allows an authenticated member to store a malicious payload in a resource-locator field that executes as JavaScript in any other user's browser session when they open the affected node. The root cause is that the editor splices the field's stored value directly into the node type's URL template without sanitizing expression syntax, enabling cross-user script execution within authenticated sessions. No public exploit or CISA KEV listing has been identified at time of analysis, but the CVSS 4.0 score of 8.4 reflects high confidentiality and integrity impact on the vulnerable system.
RemediationAI
Upgrade n8n to 1.123.69 or later on the 1.x branch, 2.33.4 or later on the 2.x branch, or 2.34.1 or later on the 2.34.x branch. These are vendor-confirmed fix versions per the GitHub security advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-fh4c-9rr2-p7qc. If immediate upgrade is not possible, the most effective compensating control is to restrict the 'member' role from creating or editing nodes that use resource-locator fields - this eliminates the write primitive required for exploitation. Alternatively, enforce role-based access so only trusted users can author workflows with resource-locator-capable nodes. Disabling link preview rendering in the editor entirely, if supported by the n8n version, would also eliminate the trigger surface. Note that input filtering at the application layer is an incomplete mitigation unless the fix is applied, as expression syntax variants may bypass naive denylists.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
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, self-hostable workflow automation platform (cpe:2.3:a:n8n-io:n8n). Its visual editor supports resource-locator fields, which allow nodes to reference external resources via URL templates. The vulnerability (CWE-94: Improper Control of Generation of Code) arises because the frontend editor performs string interpolation of the field's raw stored value into the URL template without first checking whether the value contains n8n expression syntax (e.g., {{ }} delimiters). When the resulting string is rendered for link preview, any embedded n8n expression is evaluated as JavaScript in the browser. This constitutes a stored, cross-user code injection: the attacker writes once, the victim triggers evaluation when opening the node. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:A) confirms the attack is network-reachable, low-complexity, requires low privilege for the attacker, and requires the victim to actively open the node.
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:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N
Network-reachable stored injection; low-privilege attacker writes payload, victim must open node (UI:R); scope changes to victim session with full credential and integrity access.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
n8n before 1.123.69, 2.x before 2.33.4, and 2.34.x before 2.34.1 contain an expression injection vulnerability in resource-locator field link preview rendering. The editor spliced the field's stored value directly into the node type's URL template without checking for expression syntax. An authenticated member can store a malicious value so that when another user opens the affected node in the editor, the injected expression is evaluated as JavaScript in the victim's authenticated session (cross-user script execution).
Executive ViewAI
n8n workflow teams face a cross-session code injection risk where any authenticated editor could compromise other team members' sessions and manipulate workflows or access sensitive process data. While no public exploitation has been reported, this insider threat vector warrants immediate access restrictions and monitoring pending a vendor patch.
Restrict n8n workflow editor permissions to minimal required personnel; disable or restrict resource-locator field functionality if operationally feasible; implement strict input validation preventing expression syntax in workflow definitions; enable comprehensive audit logging for all workflow modifications with alerting on suspicious patterns; consider network isolation of n8n instances from other critical systems; establish mandatory peer review for all workflow changes before deployment.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
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-63264
GHSA-vp98-5689-mc9f
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB