CVE-2026-27577: CWE-94: Improper Control of Generation of Code ('Code Injection') in n8n-io n8n
n8n is an open source workflow automation platform. Prior to versions 2.10.1, 2.9.3, and 1.123.22, additional exploits in the expression evaluation of n8n have been identified and patched following CVE-2025-68613. An authenticated user with permission to create or modify workflows could abuse crafted expressions in workflow parameters to trigger unintended system command execution on the host running n8n. The issues have been fixed in n8n versions 2.10.1, 2.9.3, and 1.123.22. Users should upgrade to one of these versions or later to remediate all known vulnerabilities. If upgrading is not immediately possible, administrators should consider the following temporary mitigations. Limit workflow creation and editing permissions to fully trusted users only, and/or deploy n8n in a hardened environment with restricted operating system privileges and network access to reduce the impact of potential exploitation. These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
AI Analysis
Technical Summary
n8n versions before 1.123.22, 2.9.3, and 2.10.1 contain a CWE-94 Improper Control of Generation of Code vulnerability allowing authenticated users with workflow editing rights to abuse expression evaluation to trigger unintended system command execution on the host. This vulnerability follows earlier related issues addressed in CVE-2025-68613. The flaw enables code injection via crafted expressions in workflow parameters. The vendor has released fixed versions 1.123.22, 2.9.3, and 2.10.1 to remediate these issues. If immediate upgrade is not feasible, limiting permissions and hardening the environment are recommended as temporary mitigations.
Potential Impact
Successful exploitation allows an authenticated user with workflow creation or modification permissions to execute arbitrary system commands on the host running n8n. This can lead to full system compromise, data exposure, or disruption of service. The CVSS 4.0 score is 9.4 (critical), reflecting high attack vector, low complexity, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade n8n to version 1.123.22, 2.9.3, 2.10.1, or later to fully remediate this vulnerability. If upgrading immediately is not possible, restrict workflow creation and editing permissions to fully trusted users only. Additionally, deploy n8n in a hardened environment with restricted operating system privileges and limited network access to reduce potential exploitation impact. These temporary mitigations do not fully resolve the risk and should only be used short-term until patching is completed.
CVE-2026-27577: CWE-94: Improper Control of Generation of Code ('Code Injection') in n8n-io n8n
Description
n8n is an open source workflow automation platform. Prior to versions 2.10.1, 2.9.3, and 1.123.22, additional exploits in the expression evaluation of n8n have been identified and patched following CVE-2025-68613. An authenticated user with permission to create or modify workflows could abuse crafted expressions in workflow parameters to trigger unintended system command execution on the host running n8n. The issues have been fixed in n8n versions 2.10.1, 2.9.3, and 1.123.22. Users should upgrade to one of these versions or later to remediate all known vulnerabilities. If upgrading is not immediately possible, administrators should consider the following temporary mitigations. Limit workflow creation and editing permissions to fully trusted users only, and/or deploy n8n in a hardened environment with restricted operating system privileges and network access to reduce the impact of potential exploitation. These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
CVSS v4.0
Score 9.4critical
Affected software
Run 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
n8n versions before 1.123.22, 2.9.3, and 2.10.1 contain a CWE-94 Improper Control of Generation of Code vulnerability allowing authenticated users with workflow editing rights to abuse expression evaluation to trigger unintended system command execution on the host. This vulnerability follows earlier related issues addressed in CVE-2025-68613. The flaw enables code injection via crafted expressions in workflow parameters. The vendor has released fixed versions 1.123.22, 2.9.3, and 2.10.1 to remediate these issues. If immediate upgrade is not feasible, limiting permissions and hardening the environment are recommended as temporary mitigations.
Potential Impact
Successful exploitation allows an authenticated user with workflow creation or modification permissions to execute arbitrary system commands on the host running n8n. This can lead to full system compromise, data exposure, or disruption of service. The CVSS 4.0 score is 9.4 (critical), reflecting high attack vector, low complexity, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade n8n to version 1.123.22, 2.9.3, 2.10.1, or later to fully remediate this vulnerability. If upgrading immediately is not possible, restrict workflow creation and editing permissions to fully trusted users only. Additionally, deploy n8n in a hardened environment with restricted operating system privileges and limited network access to reduce potential exploitation impact. These temporary mitigations do not fully resolve the risk and should only be used short-term until patching is completed.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-02-20T17:40:28.449Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 699f7a9cb7ef31ef0b62e4df
Added to database: 02/25/2026, 22:41:32 UTC
Last enriched: 07/30/2026, 00:14:49 UTC
Last updated: 07/31/2026, 21:26:47 UTC
Views: 434
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.
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.