
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-42234 is a Python Task Runner sandbox escape vulnerability in n8n, an open-source workflow automation platform. An authenticated user with permission to create or modify workflows containing a Python Code Node can escape the sandbox and achieve arbitrary code execution on the task runner container. The vulnerability was first published on April 22, 2026, and affects n8n versions prior to 1.123.32, versions 2.17.0–2.17.3, and version 2.18.0. It carries a CVSS v4.0 base score of 7.1 (High) and a CVSS v3.1 base score of 8.8 (High) (GitHub Advisory, n8n Security Advisory).
The root cause is classified as CWE-94 (Improper Control of Generation of Code / Code Injection): the Python Code Node does not sufficiently neutralize user-supplied input, allowing it to break out of the intended sandbox environment. The attack vector is network-based, requires low privileges (an authenticated account with workflow creation/modification rights), and no user interaction beyond the attacker's own actions. Exploitation is conditional on the Python Task Runner being enabled in the n8n instance. The vulnerability was reported by researcher 'dorjoos' (GitHub Advisory, n8n Security Advisory).
Successful exploitation allows an authenticated attacker to execute arbitrary code on the task runner container, resulting in high confidentiality impact (access to sensitive data processed by the container), low integrity impact (unauthorized modification of system data), and no direct availability impact per the CVSS v4.0 assessment. The scope is limited to the task runner container itself, but depending on the deployment architecture, this could enable lateral movement to other services or data stores accessible from that container (GitHub Advisory, n8n Security Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (GitHub Advisory). The EPSS score is approximately 0.07–0.095% (26th percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.
os, subprocess) to execute system commands outside the intended sandbox boundary.sh, bash, curl, wget, python3 with unexpected arguments); processes making outbound network connections from the task runner container.Upgrade n8n to one of the patched versions: 1.123.32, 2.17.4, or 2.18.1 (or later). If immediate upgrade is not possible, administrators should apply the following temporary mitigations: (1) restrict workflow creation and editing permissions to fully trusted users only; (2) disable the Python Code node by adding n8n-nodes-base.code to the NODES_EXCLUDE environment variable; or (3) disable the Python Task Runner entirely. Note that these workarounds do not fully remediate the risk and are intended only as short-term measures (GitHub Advisory, n8n Security Advisory).
The vulnerability was detected by Qualys (detection ID 531330) and included in their May 2026 application security detections publication. A brief technical write-up was published by Infinitsec shortly after disclosure. No significant broader media coverage or notable researcher commentary beyond the initial advisory has been identified (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."