CVE-2025-68668 in the critical feed json
n8n Vulnerable to Arbitrary Command Execution in Pyodide based Python Code Node
published 2025-12-26 10 mo ago modified 2026-10-13 27 d ago also EUVD-2025-205454 , GHSA-62r4-hw23-cc8v
- cvss
- 9.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 13.2%
- EPSS 13.2% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 10 mo ago
Exploit prediction
13.17% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L |
| GitHub | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L |
| NVD | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | n8n | >=1.0.0, <2.0.0 |
2.0.0 |
Affected products
- n8n-io n8n
Classification
- Weakness
-
- CWE-693 Protection Mechanism Failure
References
-
github.com
/n8n-io/n8n/security/advisories/GHSA-62r4-hw23-cc8v
web, patch, vendor-advisory
-
smartkeyss.com
/post/cve-2025-68668-breaking-out-of-the-python-sandbox-in-n8n
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-68668
advisory
-
github.com
/n8n-io/n8n
package
Sources
- CVE List CVE-2025-68668
- GitHub Advisory GHSA-62r4-hw23-cc8v
- NVD CVE-2025-68668
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.