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…

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

A code injection vulnerability (CWE-94) exists in n8n workflow automation platform versions prior to 1. 123. 32, 2. 17. 4, and 2. 18. 1. Authenticated users with permission to create or modify workflows containing a Python Code Node can escape the sandbox and execute arbitrary code on the task runner container. This affects only instances where the Python Task Runner is enabled. The vulnerability has been patched in the specified versions.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/04/2026, 19:06:29 UTC

Technical Analysis

CVE-2026-42234 is a high-severity code injection vulnerability in the n8n platform that allows an authenticated user with workflow modification permissions to bypass sandbox restrictions in Python Code Nodes. This enables arbitrary code execution on the task runner container, potentially compromising the host environment. The issue affects versions before 1.123.32, 2.17.4, and 2.18.1 and only applies if the Python Task Runner feature is enabled. The vendor has released patches in these versions to address the vulnerability.

Potential Impact

Successful exploitation allows an authenticated user with workflow creation or modification privileges to execute arbitrary code on the task runner container, potentially leading to full compromise of that container. This could result in unauthorized access, data manipulation, or disruption of automated workflows. The impact is limited to environments where the Python Task Runner is enabled.

Mitigation Recommendations

This vulnerability has been patched in n8n versions 1.123.32, 2.17.4, and 2.18.1. Users should upgrade to these or later versions to remediate the issue. If upgrading immediately is not possible, restrict permissions to create or modify workflows containing Python Code Nodes and consider disabling the Python Task Runner feature until patched versions can be deployed.

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/4/2026, 7:06:29 PM

Last updated: 5/4/2026, 7:53:22 PM

Views: 4

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