CVE-2026-0863
CWE-95Published: January 18, 2026· Updated: Jun 17, 2026
Official 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.
Risk Analysis
The n8n platform contains a sandbox escape vulnerability that allows authenticated users to execute arbitrary Python code on the host system. This critical flaw can lead to a full instance takeover, particularly when the application is running in Internal execution mode.
The vulnerability is remotely exploitable with low complexity and is not in the CISA KEV.
Upgrade to a patched version of n8n when available and consider running instances in External execution mode to limit the impact of potential code execution.
Technical Analysis
CVE-2026-0863 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.9.
The vulnerability has a "Changed" scope, meaning successful exploitation can impact components beyond the vulnerable component itself — such as the host operating system or adjacent services.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (4)
Quick Facts
Related CVEs (CWE-95)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-0863 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts