Skip to content
COOEY

EXPOSURES › CVE-2025-68668

CVE-2025-68668

CRITICAL
DETAIL
SourceNVD · cve Published2025-12-26 CVSS9.9 Referencehttps://nvd.nist.gov/vuln/detail/CVE-2025-68668 ↗
⚡ RCE SHAME 72/100 rceunpatchedexploited-in-wild

CVE-2025-68668 allows authenticated users to execute arbitrary commands on n8n hosts via a sandbox bypass in the Python Code Node.

An authenticated user can bypass the Python sandbox in n8n versions 1.0.0 through 1.104.0 to run arbitrary commands on the host system. This is a critical RCE flaw that enables attackers to compromise the underlying infrastructure if the Code Node is enabled. DIB organizations must patch to version 2.0.0 or disable the Code Node immediately to prevent host takeover.

Shame score — The vulnerability affects the entire product history from version 1.0.0 to 2.0.0, allowing long-term exposure of automation workflows to arbitrary code execution.

▸ RECOMMENDED ACTION  Remote code execution — patch the affected products on priority.

PLAYERS IMPLICATED
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.

AFFECTED FEDRAMP PRODUCTS · 0
No correlated FedRAMP products.