CVE-2025-68668
CWE-693Published: December 26, 2025· Updated: Jun 17, 2026
Official 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.
Risk Analysis
A sandbox bypass vulnerability exists in the n8n Python Code Node, allowing authenticated users to execute arbitrary commands on the host system. With a critical CVSS score of 9.9, this flaw poses a severe risk as it permits full system compromise under the privileges of the n8n process.
There is no known public exploit for this vulnerability, and it is not currently listed in CISA's KEV catalog. It is remotely exploitable by an authenticated user.
Upgrade to n8n version 2.0.0 or later. Alternatively, disable the Code Node or Python support via environment variables as specified in the vendor documentation.
Technical Analysis
CVE-2025-68668 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 (2)
Quick Facts
Related CVEs (CWE-693)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2025-68668 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts