Skip to content

Commit 997e56f

Browse files
1 parent 433371b commit 997e56f

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-62r4-hw23-cc8v",
4+
"modified": "2025-12-26T18:18:06Z",
5+
"published": "2025-12-26T18:18:05Z",
6+
"aliases": [
7+
"CVE-2025-68668"
8+
],
9+
"summary": "n8n Vulnerable to Arbitrary Command Execution in Pyodide based Python Code Node ",
10+
"details": "### Impact\nA sandbox bypass vulnerability exists in the Python Code Node that uses Pyodide.\n\nAn 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.\n\n### Patches\nIn n8n version 1.111.0, a task-runner-based native Python implementation was introduced as an optional feature, providing a more secure isolation model.\n\nTo enable it, you need to configure the `N8N_RUNNERS_ENABLED` and `N8N_NATIVE_PYTHON_RUNNER` environment variables.\n\nThis implementation became the default starting with n8n version 2.0.0.\n\n### Workarounds\n- Disable the Code Node by setting the environment variable `NODES_EXCLUDE: \"[\\\"n8n-nodes-base.code\\\"]\"` ([Docs)](https://docs.n8n.io/hosting/securing/blocking-nodes/)\n- Disable Python support in the Code node by setting the environment variable `N8N_PYTHON_ENABLED=false`, which was introduced in n8n version 1.104.0.\n- Configure n8n to use the task runner based Python sandbox via the `N8N_RUNNERS_ENABLED` and `N8N_NATIVE_PYTHON_RUNNER` environment variables. ([Docs](https://docs.n8n.io/hosting/configuration/task-runners/))\n\n### Resources\n- n8n documentation: [Blocking access to nodes](https://docs.n8n.io/hosting/securing/blocking-nodes/)\n- n8n documentation: [Code Node (Python)](https://docs.n8n.io/code/code-node/#python-native)\n- n8n documentation: [Task Runners](https://docs.n8n.io/hosting/configuration/task-runners/)",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "npm",
21+
"name": "n8n"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "1.0.0"
29+
},
30+
{
31+
"fixed": "2.0.0"
32+
}
33+
]
34+
}
35+
]
36+
}
37+
],
38+
"references": [
39+
{
40+
"type": "WEB",
41+
"url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-62r4-hw23-cc8v"
42+
},
43+
{
44+
"type": "PACKAGE",
45+
"url": "https://github.com/n8n-io/n8n"
46+
}
47+
],
48+
"database_specific": {
49+
"cwe_ids": [
50+
"CWE-693"
51+
],
52+
"severity": "CRITICAL",
53+
"github_reviewed": true,
54+
"github_reviewed_at": "2025-12-26T18:18:05Z",
55+
"nvd_published_at": null
56+
}
57+
}

0 commit comments

Comments
 (0)