Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 72%

CVE-2026-42234: CWE-94: Improper Control of Generation of Code ('Code Injection') in n8n-io n8n

0
High
VulnerabilityCVE-2026-42234cvecve-2026-42234cwe-94
Published: Mon May 04 2026 (05/04/2026, 18:36:55 UTC)
Source: CVE Database V5
Vendor/Project: n8n-io
Product: n8n

Description

CVE-2026-42234 is a high-severity vulnerability in the n8n open source workflow automation platform. It affects versions prior to 1.123.32, 2.17.4, and 2.18.1 when the Python Task Runner is enabled. An authenticated user with permission to create or modify workflows containing a Python Code Node could escape the sandbox and execute arbitrary code on the task runner container. This vulnerability has been patched in the specified versions.

CVSS v4.0

Score 7.1high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Affected versions
<1.123.32

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/12/2026, 06:29:09 UTC

Technical Analysis

This vulnerability (CWE-94: Improper Control of Generation of Code) in n8n allows an authenticated user with workflow modification permissions to bypass sandbox restrictions in the Python Code Node, leading to arbitrary code execution on the task runner container. The issue only affects instances where the Python Task Runner feature is enabled. It has been addressed in n8n versions 1.123.32, 2.17.4, and 2.18.1.

Potential Impact

Successful exploitation enables an authenticated user with limited privileges to execute arbitrary code on the underlying task runner container, potentially compromising the host environment. This could lead to unauthorized actions within the container context. The vulnerability requires authentication and workflow modification permissions, limiting exposure to authorized users only.

Mitigation Recommendations

This vulnerability has been patched in n8n versions 1.123.32, 2.17.4, and 2.18.1. Users should upgrade to one of these versions or later to remediate the issue. Since this is not a cloud service, patching the affected software instances is necessary. No alternative mitigations or temporary fixes are indicated in the available data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-25T05:37:12.117Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69f8eab1cbff5d8610415b8d

Added to database: 5/4/2026, 6:51:29 PM

Last enriched: 5/12/2026, 6:29:09 AM

Last updated: 6/19/2026, 1:24:35 AM

Views: 75

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses