Critical severity · published Jan 18, 2026
CVE-2026-0863
Sandbox escape in n8n Python task runner allows for arbitrary code execution on the underlying host.
9.9
CVSS
9.3%
EPSS
No
On KEV
Description
Using string formatting and exception handling, an attacker may bypass n8n's python-task-executor sandbox restrictions and run arbitrary unrestricted Python code in the underlying operating system. The vulnerability can be exploited via the Code block by an authenticated user with basic permissions and can lead to a full n8n instance takeover on instances operating under "Internal" execution mode. If the instance is operating under the "External" execution mode (ex. n8n's official Docker image) - arbitrary code execution occurs inside a Sidecar container and not the main node, which significantly reduces the vulnerability impact.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)9.3% · higher than 95% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
N8
N8n · N8n
through 1.123.14; 2.0.0 through 2.3.5; 2.4.0 through 2.4.2 · source: NVD
Affected product
N8
N8n
N8n
More from N8n
8.8
CVE-2025-68613
n8n Vulnerable to Remote Code Execution via Expression Injection
10.0
CVE-2026-54309
n8n: n8n MCP Browser HTTP Transport Exposes Unauthenticated Browser-Control Sessions
10.0
CVE-2026-21858
n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
9.9
CVE-2026-85165
n8n before 2.36.2 Expression Sandbox Bypass via SpreadElement
9.9
CVE-2026-72765
n8n before 2.32.1 Remote Code Execution via Expression Sandbox Escape