CVE-2026-42234
Published:May 04, 2026
Updated:June 25, 2026
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
n8n (NPM):
Affected version(s) >=2.17.0 <2.17.4Fix Suggestion:
Update to version 2.17.4n8n (NPM):
Affected version(s) >=0.0.1 <1.123.32Fix Suggestion:
Update to version 1.123.32n8n (NPM):
Affected version(s) >=0.0.1 <1.123.32Fix Suggestion:
Update to version 1.123.32n8n (NPM):
Affected version(s) >=0.0.1 <2.18.1Fix Suggestion:
Update to version 2.18.1n8n (NPM):
Affected version(s) >=0.0.1 <2.17.4Fix Suggestion:
Update to version 2.17.4n8n (NPM):
Affected version(s) =2.18.0 <2.18.1Fix Suggestion:
Update to version 2.18.1Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.38