Arbitrary File Upload Affecting n8n-nodes-base package, versions <1.121.12>=2.0.0 <2.4.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (38th percentile)

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 File Upload vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-N8NNODESBASE-15222961
  • published5 Feb 2026
  • disclosed4 Feb 2026
  • creditnlgbao1340

Introduced: 4 Feb 2026

CVE-2026-25056  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade n8n-nodes-base to version 1.121.12, 2.4.0 or higher.

Overview

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to Arbitrary File Upload via the Merge node's SQL Query mode. An attacker can write arbitrary files to the server's filesystem and potentially execute remote code by crafting malicious workflows.

Note:

This is only exploitable if the attacker has authenticated access with permissions to create or modify workflows.

Workaround

This vulnerability can be mitigated by limiting workflow creation and editing permissions to fully trusted users, disabling or restricting use of the Merge node, and reviewing workflows for suspicious use of the Merge node's SQL Query mode.

References

CVSS Base Scores

version 4.0
version 3.1