N8n
CVE-2026-25049
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as n8n user
-
ExploitCreate or modify workflow with crafted expression
-
ExecutionInject system command in workflow parameters
-
ImpactExecute arbitrary command on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Dynamic code resource control
|
| Exploitation Conditions | Authenticated user account with workflow creation/modification permissions on n8n instance prior to versions 1.123.17 or 2.5.2. No additional configuration required beyond standard n8n deployment with user roles enabled. |
| Impact | CVSS 9.9 with patch. n8n is a popular workflow automation platform. First of four critical n8n vulnerabilities in this advisory batch. |
| Exploit ScenarioDerived | An authenticated n8n user crafts a workflow that exploits the runtime behavior modification to execute arbitrary code on the n8n server, accessing all workflow data and connected service credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
n8n workflow automation platform has an authenticated code execution vulnerability (CVSS 9.9) through improper runtime behavior modification, enabling server takeover.
Earlier versions of this analysis (1)
Runtime behavior modification in n8n enables authenticated RCE.
RemediationAI
Update n8n immediately. All four n8n vulnerabilities should be patched together.
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 < 1.123.17 / 2.5.2 has a CWE-913 improper control of dynamically-managed code resources that allows authenticated users to modify runtime behavior and execute arbitrary code on the server.
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
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
n8n is an open source workflow automation platform. Prior to versions 1.123.17 and 2.5.2, an authenticated user with permission to create or modify workflows could abuse crafted expressions in workflow parameters to trigger unintended system command execution on the host running n8n. This issue has been patched in versions 1.123.17 and 2.5.2.
Executive ViewAI
N8N workflow automation platforms running versions 1.123.17 and earlier face critical risk of remote code execution through improper code resource handling. Any organization using N8N for business process automation is at immediate risk of unauthorized system access and data compromise, requiring urgent remediation before exploitation occurs.
Apply vendor patch. If immediate patching is not possible: restrict N8N network access to authorized users only via firewall/WAF rules; disable dynamic code execution features if available; implement continuous monitoring and logging of N8N activity for indicators of exploitation; consider taking affected instances offline until patching is complete.
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
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.
Affected Products (CPE)GitHub Advisory
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
GHSA-6cqr-8cfr-67f8
NVD
CVE.org
EPSS
Exploit-DB