N8n
CVE-2026-25052
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as user with workflow creation permission
-
DeliveryCreate or modify workflow with file access payload
-
ExploitExploit file access controls vulnerability
-
ExecutionRead sensitive system files and credentials
-
ImpactObtain user account takeover capability
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2021 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | Authenticated user account with permission to create or modify workflows on n8n instances prior to versions 1.123.18 and 2.5.0. Vulnerable file access control mechanism in workflow execution must be present. |
| Impact | CVSS 9.9 with patch. Second n8n critical vulnerability. Race conditions can be reliably exploited with proper timing. |
| Exploit ScenarioDerived | An attacker exploits the TOCTOU window to modify a workflow between its validation and execution, injecting malicious code that bypasses security checks. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
n8n has a TOCTOU race condition vulnerability (CVSS 9.9) enabling bypass of execution restrictions in workflow processing.
Earlier versions of this analysis (1)
TOCTOU race condition in n8n enables execution restriction bypass.
RemediationAI
Update n8n.
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.18 / 2.5.0 has a CWE-367 time-of-check time-of-use race condition that allows attackers to modify workflow execution between validation and execution phases.
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.18 and 2.5.0, a vulnerability in the file access controls allows authenticated users with permission to create or modify workflows to read sensitive files from the n8n host system. This can be exploited to obtain critical configuration data and user credentials, leading to complete account takeover of any user on the instance. This issue has been patched in versions 1.123.18 and 2.5.0.
Executive ViewAI
A critical vulnerability in n8n workflow automation platform allows authenticated users to read sensitive files from the host system, potentially exposing credentials, configuration data, and other confidential information. Any organization using n8n is at immediate risk if users with workflow creation permissions are compromised or act maliciously.
Apply vendor patch. If immediate patching is not possible: restrict workflow creation permissions to highly trusted users only; implement network segmentation to limit n8n access to sensitive system files; monitor file access logs for suspicious activity; disable n8n instances not in active use.
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.
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-gfvg-qv54-r4pc
NVD
CVE.org
EPSS
Exploit-DB