CVE-2026-49444: CWE-20: Improper Input Validation in n8n-io n8n
n8n is an open source workflow automation platform. A vulnerability in versions prior to 1.123.48, 2.21.8, and 2.22.4 allows an authenticated user with permission to create or modify workflows containing a Python Code Node to escape the sandbox and execute arbitrary code on the task runner container. This issue is due to improper input validation (CWE-20). The vulnerability is fixed in versions 1.123.48, 2.21.8, and 2.22.4.
AI Analysis
Technical Summary
CVE-2026-49444 is an improper input validation vulnerability in n8n that affects the Python Code Node feature. Authenticated users with workflow creation or modification permissions could exploit this flaw to escape the sandbox environment and achieve arbitrary code execution on the task runner container. This vulnerability affects n8n versions prior to 1.123.48, 2.21.8, and 2.22.4. The issue is resolved in these fixed versions.
Potential Impact
Successful exploitation allows an authenticated user with specific workflow permissions to execute arbitrary code on the task runner container, potentially compromising the host environment running n8n workflows. This could lead to unauthorized actions within the container context.
Mitigation Recommendations
Upgrade n8n to version 1.123.48, 2.21.8, or 2.22.4 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated in the available data.
CVE-2026-49444: CWE-20: Improper Input Validation in n8n-io n8n
Description
n8n is an open source workflow automation platform. A vulnerability in versions prior to 1.123.48, 2.21.8, and 2.22.4 allows an authenticated user with permission to create or modify workflows containing a Python Code Node to escape the sandbox and execute arbitrary code on the task runner container. This issue is due to improper input validation (CWE-20). The vulnerability is fixed in versions 1.123.48, 2.21.8, and 2.22.4.
CVSS v4.0
Score 7.1high
Affected software
pkg:github/n8n-io/n8nRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-49444 is an improper input validation vulnerability in n8n that affects the Python Code Node feature. Authenticated users with workflow creation or modification permissions could exploit this flaw to escape the sandbox environment and achieve arbitrary code execution on the task runner container. This vulnerability affects n8n versions prior to 1.123.48, 2.21.8, and 2.22.4. The issue is resolved in these fixed versions.
Potential Impact
Successful exploitation allows an authenticated user with specific workflow permissions to execute arbitrary code on the task runner container, potentially compromising the host environment running n8n workflows. This could lead to unauthorized actions within the container context.
Mitigation Recommendations
Upgrade n8n to version 1.123.48, 2.21.8, or 2.22.4 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated in the available data.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-30T02:43:33.106Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3ab6d9eed863c81e4f9e9a
Added to database: 06/23/2026, 16:39:53 UTC
Last enriched: 06/23/2026, 16:56:03 UTC
Last updated: 06/23/2026, 16:56:03 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.