N8n
CVE-2026-25115
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to n8n instance
-
ExploitCreate workflow with Python Code node
-
ExecutionInject sandbox escape payload
-
ImpactExecute arbitrary system code
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Protection mechanism completeness
|
| Exploitation Conditions | Authenticated user account on n8n instance before version 2.4.8 with access to create or execute workflows containing the Python Code node. |
| Impact | CVSS 9.9 — fourth critical n8n vulnerability. Sandbox escape provides unrestricted server access. n8n has four critical RCE paths that must all be patched. |
| Exploit ScenarioDerived | An attacker escapes the Python sandbox in an n8n workflow to execute unrestricted Python code on the server, accessing the filesystem, network, and all configured integrations. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
n8n has a protection mechanism bypass (CVSS 9.9) in the Python sandbox allowing authenticated users to escape code execution restrictions.
Earlier versions of this analysis (1)
Python sandbox escape in n8n enables unrestricted code execution.
RemediationAI
Update n8n to the latest version addressing all four vulnerabilities.
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 < 2.4.8 has a CWE-693 protection mechanism failure in its Python execution sandbox, allowing authenticated users to bypass code execution restrictions and run arbitrary Python code.
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 version 2.4.8, a vulnerability in the Python Code node allows authenticated users to break out of the Python sandbox environment and execute code outside the intended security boundary. This issue has been patched in version 2.4.8.
Executive ViewAI
A critical vulnerability in n8n workflow automation platform allows authenticated users to bypass security controls and execute arbitrary code on affected systems. Organizations using n8n for business-critical automation processes face immediate risk of unauthorized system access, data exfiltration, and operational disruption.
Disable Python Code node functionality until patch is available; implement network-level access controls restricting n8n instances to specific trusted networks; apply WAF rules to monitor and block suspicious workflow execution patterns; enforce strict authentication and audit logging for all n8n user activities; run n8n in containerized environments with restricted system permissions and resource limits; monitor process execution on n8n host systems for unauthorized subprocess spawning.
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
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
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
GHSA-8398-gmmx-564h
NVD
CVE.org
EPSS
Exploit-DB