Arbitrary File Upload Affecting n8n-nodes-base package, versions >=0.123.0 <1.121.3


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
12.49% (94th 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-14894272
  • published7 Jan 2026
  • disclosed6 Jan 2026
  • creditThéo Lelasseux

Introduced: 6 Jan 2026

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

How to fix?

Upgrade n8n-nodes-base to version 1.121.3 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 Git Node. An authenticated user can achieve execution of untrusted code by uploading malicious files that are subsequently executed by the service. This can lead to full compromise of the affected instance.

Workaround

This vulnerability can be mitigated by disabling the Git Node and limiting access for untrusted users.

CVSS Base Scores

version 4.0
version 3.1