Arbitrary Code Injection Affecting n8n-nodes-base package, versions <1.121.15>=2.0.0 <2.9.1>=2.10.0 <2.10.1


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-N8NNODESBASE-15356669
  • published26 Feb 2026
  • disclosed25 Feb 2026
  • creditSean Nejad, Nil Ash

Introduced: 25 Feb 2026

NewCVE-2026-27497  (opens in a new tab)
CWE-89  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade n8n-nodes-base to version 1.121.15, 2.9.1, 2.10.1 or higher.

Overview

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to Arbitrary Code Injection via the Merge node's SQL query mode. An attacker can execute arbitrary code and write arbitrary files on the server by crafting malicious workflows after authenticating with permissions to create or modify workflows.

Workaround

This vulnerability can be mitigated by limiting workflow creation and editing permissions to fully trusted users only, or by disabling the Merge node by adding n8n-nodes-base.merge to the NODES_EXCLUDE environment variable.

CVSS Base Scores

version 4.0
version 3.1