
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-25115 is a Python sandbox escape vulnerability in n8n, an open-source workflow automation platform, that allows authenticated users to break out of the Python sandbox environment and execute arbitrary code outside the intended security boundary. It affects all n8n versions prior to 2.4.8 and was published on February 4, 2026. The vulnerability has a CVSS v4.0 base score of 9.4 (Critical) and a CVSS v3.1 base score of 9.9 (Critical) (GitHub Advisory, n8n Advisory).
The vulnerability is classified as CWE-693 (Protection Mechanism Failure), meaning the Python sandbox implemented in n8n's Code node does not adequately prevent escape to the broader execution environment. Exploitation requires three specific conditions to be met simultaneously: Task Runners must be enabled (N8N_RUNNERS_ENABLED=true, default: false), Python must be enabled (N8N_PYTHON_ENABLED=true), and the Code Node must be enabled (default: true). When Task Runners operate in the default internal mode, a successful sandbox escape grants code execution within the main n8n process; when configured in external mode (N8N_RUNNERS_MODE=external), the escape is limited to the sidecar container, significantly reducing lateral movement risk. The vulnerability was reported by researchers MarcoPoloPie and c0rydoras (n8n Advisory).
Successful exploitation allows an authenticated attacker to execute arbitrary code outside the Python sandbox, resulting in high confidentiality, integrity, and availability impact on both the vulnerable n8n system and subsequent systems it can reach. In internal Task Runner mode, the attacker gains code execution within the main n8n process, enabling access to sensitive workflow data, credentials stored in n8n, and potential lateral movement to connected systems and services. In external mode, the blast radius is limited to the sidecar container, reducing but not eliminating risk (GitHub Advisory, n8n Advisory).
As of the time of publication, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (GitHub Advisory). The EPSS score is approximately 0.075% (23rd percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires authenticated access with low privileges, and the vulnerable configuration (Task Runners + Python enabled) is not the default, which further limits the exposed attack surface.
N8N_RUNNERS_ENABLED=true) and Python support active (N8N_PYTHON_ENABLED=true).__class__.__mro__, __subclasses__()) to access restricted built-ins or OS-level functions.sh, bash, python3, curl, wget); unusual network connections initiated from the n8n process or sidecar container.Upgrade n8n to version 2.4.8 or later, which contains the official patch for this vulnerability (n8n Advisory). If an immediate upgrade is not possible, apply the following workarounds in order of priority:
n8n-nodes-base.code to the NODES_EXCLUDE environment variable.N8N_RUNNERS_MODE=external) to isolate untrusted code execution in a separate sidecar container, limiting the impact of any sandbox escape.The vulnerability received coverage from The Hacker News in the context of multiple critical n8n flaws (The Hacker News). Belgium's Centre for Cybersecurity (CCB) issued an advisory warning about multiple critical vulnerabilities in n8n, including this sandbox escape (CCB Advisory). Security researchers and community accounts on Mastodon and Bluesky shared alerts about the flaw shortly after disclosure. Endor Labs published a technical analysis covering related n8n RCE vulnerabilities (Endor Labs).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."