CVE-2025-68668 Details
Description
n8n is an open source workflow automation platform. From version 1.0.0 to before 2.0.0, a sandbox bypass vulnerability exists in the Python Code Node that uses Pyodide. An authenticated user with permission to create or modify workflows can exploit this vulnerability to execute arbitrary commands on the host system running n8n, using the same privileges as the n8n process. This issue has been patched in version 2.0.0. Workarounds for this issue involve disabling the Code Node by setting the environment variable NODES_EXCLUDE: "[\"n8n-nodes-base.code\"]", disabling Python support in the Code node by setting the environment variable N8N_PYTHON_ENABLED=false, which was introduced in n8n version 1.104.0, and configuring n8n to use the task runner based Python sandbox via the N8N_RUNNERS_ENABLED and N8N_NATIVE_PYTHON_RUNNER environment variables.
A sandbox bypass vulnerability has been identified in the Python Code Node of n8n, an open-source workflow automation platform, affecting versions 1.0.0 prior to 2.0.0. This vulnerability allows an authenticated user with the ability to create or modify workflows to execute arbitrary commands on the host system where n8n is running, using the same privileges as the n8n process. The issue arises in the Pyodide-based Python Code Node, where the sandboxing mechanism can be bypassed.
Users can upgrade to n8n version 2.0.0 or later, where this vulnerability has been patched. For those using n8n version 1.111.0 or later, the task-runner-based native Python implementation can be enabled as a more secure option by configuring the N8N_RUNNERS_ENABLED and N8N_NATIVE_PYTHON_RUNNER environment variables. Additional workarounds include disabling the Code Node or Python support in the Code node through specific environment variable settings.
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 Dec 26, 2025References 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.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-693 | Protection Mechanism Failure | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| n8n n8n | >= 1.0.0, < 2.0.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 13, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 5, 2026 | CVE Modified | CVE |
| Dec 31, 2025 | Initial Analysis | [email protected] |
| Dec 26, 2025 | New CVE Received | [email protected] |