CVE-2026-27497: n8n Remote Code Execution via Merge Node

n8n Updated 25 Feb 2026

Summary

25/02/2026
Yes i
Critical
9.9

CVE-2026-27497: n8n has Potential Remote Code Execution via Merge Node. Affects n8n across 3 version ranges.

< 1.123.22 >= 2.0.0, < 2.9.3 >= 2.10.0, < 2.10.1

Fixed in 1.123.22, 2.9.3 or 2.10.1, 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, due to a vulnerability in the Merge node's SQL query mode, authenticated users with workflow creation or modification permissions can exploit this flaw to execute arbitrary code on the n8n server.

Vulnerability Detail

The vulnerability arises from the Merge node's SQL query mode, which allows an authenticated user to execute arbitrary code and write files on the n8n server. This could lead to severe consequences, including unauthorized access to sensitive data, system compromise, and potential disruption of services. The vulnerability is classified under CWE-89 (SQL Injection) and CWE-94 (Code Injection), indicating its critical nature and the potential for exploitation.

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.22 1.123.22
    npm install n8n@1.123.22
  • >= 2.0.0, < 2.9.3 2.9.3
    npm install n8n@2.9.3
  • >= 2.10.0, < 2.10.1 2.10.1
    npm install n8n@2.10.1

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 implementing the following workarounds:

  • Limit workflow creation and editing permissions to fully trusted users only.
  • Disable the Merge node by adding the following line to your environment variables: NODES_EXCLUDE=n8n-nodes-base.merge.

Conclusion

The n8n vulnerability (CVE-2026-27497) poses a significant risk due to the potential for remote code execution through the Merge node. Users are strongly advised to upgrade to the patched versions to mitigate this risk. If immediate upgrades are not possible, implementing the suggested workarounds can provide temporary relief.

See every vulnerability recorded for n8n →

Share this vulnerability

FAQ

The vulnerability has a CVSS score of 9.9, indicating a critical level of severity.

Any authenticated user with permissions to create or modify workflows in n8n is potentially affected.

Exploitation of this vulnerability could lead to remote code execution, unauthorized access to sensitive data, and disruption of services.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If you cannot upgrade, limit permissions for workflow creation and editing to trusted users and disable the Merge node as a temporary measure.

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.22 1.123.22
    npm install n8n@1.123.22
  • >= 2.0.0, < 2.9.3 2.9.3
    npm install n8n@2.9.3
  • >= 2.10.0, < 2.10.1 2.10.1
    npm install n8n@2.10.1

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