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.

Severity (CVSS 4.0)7.1High
Exploit odds (30 days)0.4%top 68.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npmn8n1.123.32GHSA-44v6-jhgm-p3m4
npmn8n2.18.1GHSA-44v6-jhgm-p3m4
npmn8n2.17.4GHSA-44v6-jhgm-p3m4

Affected products (as reported)

VendorProductVersions
n8n-io n8n < 1.123.32>= 2.17.0, < 2.17.4>= 2.18.0, < 2.18.1

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