The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-33660

CVE-2026-33660: n8n Workflow Automation RCE Vulnerability

CVE-2026-33660 is a remote code execution flaw in n8n workflow automation platform that allows authenticated attackers to read local files and execute arbitrary code. This post covers technical details, affected versions, and mitigation.

Published: March 27, 2026

CVE-2026-33660 Overview

CVE-2026-33660 is a critical code injection vulnerability affecting n8n, an open source workflow automation platform. The vulnerability exists in the Merge node's "Combine by SQL" mode, which uses AlaSQL for processing SQL statements. Due to insufficient restrictions in the AlaSQL sandbox, an authenticated user with workflow creation or modification permissions can craft malicious SQL statements to read local files on the n8n host and achieve remote code execution.

Critical Impact

Authenticated attackers can escape the AlaSQL sandbox to read sensitive files from the server filesystem and execute arbitrary code, potentially leading to full compromise of the n8n instance and underlying infrastructure.

Affected Products

  • n8n versions prior to 2.14.1
  • n8n versions prior to 2.13.3
  • n8n versions prior to 1.123.26

Discovery Timeline

  • 2026-03-25 - CVE-2026-33660 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-33660

Vulnerability Analysis

This vulnerability is classified as CWE-94 (Improper Control of Generation of Code - Code Injection). The flaw resides in how n8n implements the AlaSQL-based SQL processing within the Merge node's "Combine by SQL" functionality. The sandbox environment intended to restrict SQL operations does not adequately prevent certain statement types that can be leveraged for filesystem access and code execution.

When an authenticated user with workflow creation or modification permissions creates or edits a workflow containing a Merge node configured to use "Combine by SQL" mode, they can inject specially crafted SQL statements that bypass the sandbox restrictions. This allows the attacker to perform operations outside the intended scope of the SQL processing feature.

Root Cause

The root cause stems from insufficient input validation and inadequate sandboxing of the AlaSQL engine within the Merge node. The AlaSQL library provides various SQL-like capabilities, and certain statements or functions were not properly restricted by n8n's sandbox implementation. This oversight allows attackers to escape the intended boundaries and interact directly with the underlying system through the SQL interface.

Attack Vector

The attack requires network access and low-privilege authentication. An attacker must have valid credentials with permissions to create or modify workflows within the n8n platform. Once authenticated, the attacker can:

  1. Create a new workflow or modify an existing one
  2. Add or configure a Merge node with "Combine by SQL" mode
  3. Inject malicious SQL statements designed to read local files or execute system commands
  4. Trigger the workflow execution to exploit the sandbox escape

The vulnerability can be exploited to read sensitive configuration files containing credentials, access private keys, or execute arbitrary code on the server hosting the n8n instance. Given that n8n workflows often contain integration credentials and API keys, successful exploitation could lead to lateral movement across connected systems.

Detection Methods for CVE-2026-33660

Indicators of Compromise

  • Unusual workflow modifications or creations involving Merge nodes with SQL mode
  • Unexpected file access patterns from the n8n process
  • Anomalous SQL queries containing filesystem paths or system command syntax within workflow logs
  • New or modified workflows created by users who do not typically perform automation development

Detection Strategies

  • Monitor workflow audit logs for creation or modification of workflows containing Merge nodes with "Combine by SQL" configuration
  • Implement file integrity monitoring on the n8n server to detect unauthorized file reads
  • Review authentication logs for unusual access patterns to the n8n administrative interface
  • Deploy endpoint detection and response (EDR) solutions to identify code execution from the n8n process context

Monitoring Recommendations

  • Enable comprehensive logging for n8n workflow executions and administrative actions
  • Configure alerts for SQL mode usage in Merge nodes, particularly from users with limited trust
  • Monitor network traffic from the n8n host for unexpected outbound connections that may indicate data exfiltration
  • Implement behavioral analysis to detect anomalous n8n process activities such as spawning child processes or accessing sensitive system files

How to Mitigate CVE-2026-33660

Immediate Actions Required

  • Upgrade n8n to version 2.14.1, 2.13.3, or 1.123.26 or later immediately
  • Audit existing workflows for any Merge nodes using "Combine by SQL" mode
  • Review user permissions and restrict workflow creation/modification to fully trusted users only
  • Check n8n logs for any suspicious workflow activity that may indicate prior exploitation attempts

Patch Information

n8n has released security patches addressing this vulnerability in versions 2.14.1, 2.13.3, and 1.123.26. Users should upgrade to one of these versions or later as soon as possible. For detailed information about the security fix, refer to the GitHub Security Advisory.

Workarounds

  • Limit workflow creation and editing permissions to fully trusted users only as an interim measure
  • Disable the Merge node entirely by adding n8n-nodes-base.merge to the NODES_EXCLUDE environment variable
  • Implement network segmentation to limit the impact of potential compromise
  • Consider running n8n in a containerized environment with restricted filesystem access
bash
# Disable the Merge node as a temporary workaround
# Add the following to your n8n environment configuration
export NODES_EXCLUDE="n8n-nodes-base.merge"

# Restart n8n after applying the environment variable
systemctl restart n8n
# or for Docker deployments
docker restart n8n-container

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechN8n

  • SeverityCRITICAL

  • CVSS Score9.4

  • EPSS Probability0.11%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33696: n8n Workflow Automation RCE Vulnerability

  • CVE-2026-27577: n8n Workflow Automation RCE Vulnerability

  • CVE-2026-27498: n8n Workflow Automation RCE Vulnerability

  • CVE-2026-27495: n8n Workflow Automation RCE Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English