Vulnerability · Published May 4, 2026 · Assigned by GitHub_M
CVE-2026-42234n8n: Python Task Runner Sandbox Escape
High 7.1
In plain English
A high-severity code injection in n8n from n8n-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, an authenticated user with permission to create or modify workflows containing a Python Code Node could escape the sandbox and achieve arbitrary code execution on the task runner container. This issue only affects instances where the Python Task Runner is enabled. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | n8n | 1.123.32 | GHSA-44v6-jhgm-p3m4 |
| npm | n8n | 2.18.1 | GHSA-44v6-jhgm-p3m4 |
| npm | n8n | 2.17.4 | GHSA-44v6-jhgm-p3m4 |
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-44v6-jhgm-p3m4 x_refsource_CONFIRM