CVE-2026-25053: n8n Git Node OS Command Injection Vulnerability

n8n Updated 04 Feb 2026

Summary

04/02/2026
Yes i
Critical
9.4

CVE-2026-25053: n8n has OS Command Injection in Git Node. Affects n8n across 2 version ranges.

< 1.123.10 >= 2.0.0, < 2.5.0

Fixed in 1.123.10 or 2.5.0, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

n8n is an open-source workflow automation tool that allows users to connect various applications and services to automate tasks. It provides a user-friendly interface for creating workflows that can integrate with APIs, databases, and other services. However, a critical vulnerability has been identified in the Git node of n8n, which could allow unauthorized command execution on the host system.

Vulnerability Detail

The vulnerability arises from improper handling of user inputs in the Git node, allowing authenticated users with permissions to create or modify workflows to execute arbitrary system commands or read sensitive files on the n8n host. This could lead to severe security breaches, including unauthorized access to system resources and data leakage.

How To Fix

Latest published version: 2.44.6 as of 22 Oct 2026

npm install n8n@2.44.6

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 1.123.10 1.123.10
    npm install n8n@1.123.10
  • >= 2.0.0, < 2.5.0 2.5.0
    npm install n8n@2.5.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If immediate upgrading is not feasible, consider the following temporary mitigations:

  1. Limit workflow creation and editing permissions to fully trusted users only.
  2. Restrict or disable access to the Git node if it is not essential for operations.
  3. Deploy n8n in a hardened environment with restricted operating system privileges and network access to minimize the impact of potential exploitation.

Conclusion

The n8n Git node vulnerability (CVE-2026-25053) poses a critical risk by allowing command injection through improperly handled user inputs. It is essential for users to upgrade to the patched versions to secure their systems. Temporary workarounds can help mitigate risks until an upgrade is possible.

See every vulnerability recorded for n8n →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.4, indicating a critical level of severity.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The potential risks include unauthorized command execution, data leakage, and severe security breaches on the host system.

Yes, you can limit permissions for workflow creation and editing, restrict access to the Git node, and deploy n8n in a more secure environment.

Versions 2.5.0 and later, as well as 1.123.10 and later, have patched this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for n8n.

How To Fix

Latest published version: 2.44.6 as of 22 Oct 2026

npm install n8n@2.44.6

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 1.123.10 1.123.10
    npm install n8n@1.123.10
  • >= 2.0.0, < 2.5.0 2.5.0
    npm install n8n@2.5.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback