CVE-2026-0863 Details
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.
A vulnerability exists in n8n's Python task executor that allows authenticated users with basic permissions to bypass sandbox restrictions and execute arbitrary Python code on the underlying operating system. This issue arises from improper exception handling and string formatting, which can be exploited through the Code block. The vulnerability has different impacts depending on the execution mode: it can lead to a complete takeover of the n8n instance in 'Internal' mode, while in 'External' mode (such as when using n8n's official Docker image), the arbitrary code execution occurs within a Sidecar container, limiting the impact.
Users can update to n8n versions 2.3.6 or 2.4.3 and later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://research.jfrog.com/vulnerabilities/n8n-python-runner-sandbox-escape-jfsa-2026-001651077/ | CISA-ADP | ExploitThird Party Advisory |
| https://www.smartkeyss.com/post/cve-2026-0863-python-sandbox-escape-in-n8n-via-exception-formatting-and-implicit-code-execution | CVE | ExploitThird Party Advisory |
| https://github.com/n8n-io/n8n/commit/b73a4283cb14e0f27ce19692326f362c7bf3da02 | [email protected] | Patch |
| https://research.jfrog.com/vulnerabilities/n8n-python-runner-sandbox-escape-jfsa-2026-001651077/ | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
| CWE-95 | Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| n8n n8n | <= 1.123.14 >= 2.0.0, <= 2.3.5 >= 2.4.0, <= 2.4.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 10, 2026 | Initial Analysis | [email protected] |
| Jan 23, 2026 | CVE Modified | CVE |
| Jan 20, 2026 | CVE Modified | CISA-ADP |
| Jan 18, 2026 | New CVE Received | [email protected] |