A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-25049

CVE-2026-25049: N8n Workflow Automation RCE Vulnerability

CVE-2026-25049 is a remote code execution flaw in N8n workflow automation platform that allows authenticated users to execute system commands via crafted workflow expressions. This post covers technical details, affected versions, and patches.

Published: February 6, 2026

CVE-2026-25049 Overview

CVE-2026-25049 is a critical command injection vulnerability discovered in n8n, an open source workflow automation platform. Prior to versions 1.123.17 and 2.5.2, an authenticated user with permission to create or modify workflows could abuse crafted expressions in workflow parameters to trigger unintended system command execution on the host running n8n. This vulnerability allows attackers to execute arbitrary commands on the underlying server, potentially leading to complete system compromise.

Critical Impact

Authenticated attackers can achieve remote code execution on n8n servers through malicious workflow expressions, enabling full system compromise and lateral movement within affected infrastructure.

Affected Products

  • n8n versions prior to 1.123.17 (1.x branch)
  • n8n versions prior to 2.5.2 (2.x branch)
  • n8n installations on Node.js environments

Discovery Timeline

  • 2026-02-04 - CVE-2026-25049 published to NVD
  • 2026-02-05 - Last updated in NVD database

Technical Details for CVE-2026-25049

Vulnerability Analysis

This vulnerability falls under CWE-913 (Improper Control of Dynamically-Managed Code Resources). The flaw exists in n8n's expression evaluation mechanism used within workflow parameters. When users create or modify workflows, n8n processes expressions embedded in workflow configurations. The vulnerability arises because these expressions are not properly sanitized before being evaluated, allowing attackers to inject malicious code that escapes the intended expression context and executes system commands.

The network-accessible nature of n8n combined with the low attack complexity makes this vulnerability particularly dangerous. An authenticated attacker with workflow creation or modification privileges can craft expressions that bypass intended security boundaries, achieving arbitrary command execution on the underlying host system. The impact extends beyond the n8n application itself, potentially affecting other services and data on the same host or connected network segments.

Root Cause

The root cause of CVE-2026-25049 lies in improper control of dynamically-managed code resources within n8n's expression evaluation engine. The application fails to adequately restrict the capabilities available within workflow expressions, allowing users to craft inputs that break out of the intended expression sandbox. This insufficient isolation between user-controlled expression content and system-level execution contexts enables command injection through carefully constructed workflow parameters.

Attack Vector

The attack vector for CVE-2026-25049 is network-based, requiring authentication but no user interaction. An attacker must first obtain valid credentials or access to an n8n account with workflow creation or modification permissions. Once authenticated, the attacker crafts malicious expressions within workflow parameters that, when processed by the n8n engine, execute arbitrary system commands on the host server.

The exploitation process involves:

  1. Authenticating to the n8n platform with appropriate permissions
  2. Creating or modifying a workflow with specially crafted expression parameters
  3. Triggering workflow execution to process the malicious expressions
  4. Achieving command execution on the underlying host system

Due to the sensitive nature of this vulnerability, specific exploitation code is not provided. For technical details, refer to the GitHub Security Advisory GHSA-6cqr-8cfr-67f8.

Detection Methods for CVE-2026-25049

Indicators of Compromise

  • Unusual workflow creation or modification patterns by authenticated users
  • Unexpected child processes spawned from the n8n application process
  • Anomalous system command executions originating from the n8n service account
  • Suspicious outbound network connections from the n8n server

Detection Strategies

  • Monitor workflow audit logs for expressions containing shell metacharacters or command injection patterns
  • Implement behavioral analysis to detect unusual process execution chains from the n8n process
  • Deploy endpoint detection and response (EDR) solutions to identify malicious command execution
  • Review n8n access logs for unusual authentication patterns preceding workflow modifications

Monitoring Recommendations

  • Enable comprehensive logging for all workflow creation and modification events
  • Configure alerting for any command execution originating from the n8n process context
  • Implement network traffic monitoring for unexpected outbound connections from n8n servers
  • Establish baseline process behavior for n8n and alert on deviations

How to Mitigate CVE-2026-25049

Immediate Actions Required

  • Upgrade n8n to version 1.123.17 or later for 1.x installations
  • Upgrade n8n to version 2.5.2 or later for 2.x installations
  • Review workflow creation and modification permissions, limiting access to trusted users only
  • Audit existing workflows for suspicious expression patterns

Patch Information

n8n has released security patches addressing this vulnerability in versions 1.123.17 and 2.5.2. The fixes implement proper sanitization and restriction of expression evaluation capabilities to prevent command injection through workflow parameters.

Patch commits are available for review:

  • Patch Commit for 1.x Branch
  • Patch Commit for 2.x Branch

Workarounds

  • Restrict workflow creation and modification permissions to only essential, trusted users
  • Implement network segmentation to isolate n8n servers from critical infrastructure
  • Deploy application-level firewalls to monitor and filter suspicious workflow operations
  • Run n8n with minimal system privileges to limit the impact of successful exploitation
bash
# Example: Restrict n8n service permissions
# Run n8n under a dedicated service account with minimal privileges
useradd -r -s /bin/false n8n-service
chown -R n8n-service:n8n-service /opt/n8n
# Ensure the service cannot access sensitive system resources

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.03%

  • 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-913
  • Vendor Resources
  • GitHub Commit Changes

  • GitHub Commit Updates

  • GitHub Security Advisory GHSA-6cqr-8cfr-67f8
  • Related CVEs
  • CVE-2026-25115: N8n Workflow Automation RCE Vulnerability

  • CVE-2026-25056: N8n Workflow Automation RCE Vulnerability

  • CVE-2026-25055: N8n Workflow Automation RCE Vulnerability

  • CVE-2026-25053: 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
  • English
  • 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