banner logoJoin us at RSAC™ 2026 Conference, March 23–March 26 | North Expo, Booth N-5863Join us at RSAC™ 2026, March 23–March 26Learn More
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
      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
    • 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-27495

CVE-2026-27495: n8n Workflow Automation RCE Vulnerability

CVE-2026-27495 is a remote code execution flaw in n8n workflow automation that allows authenticated users to execute arbitrary code outside the sandbox. This post covers technical details, affected versions, and mitigation.

Published: February 27, 2026

CVE-2026-27495 Overview

CVE-2026-27495 is a critical sandbox escape vulnerability in n8n, a popular open source workflow automation platform. The vulnerability exists in the JavaScript Task Runner sandbox, allowing authenticated users with workflow creation or modification permissions to execute arbitrary code outside the sandbox boundary. This code injection vulnerability (CWE-94) can lead to full host compromise on instances using the default internal Task Runner configuration.

Critical Impact

Authenticated attackers can escape the JavaScript Task Runner sandbox to execute arbitrary code, potentially achieving full compromise of the n8n host system or impacting other tasks on external Task Runners.

Affected Products

  • n8n versions prior to 2.10.1
  • n8n versions prior to 2.9.3
  • n8n versions prior to 1.123.22

Discovery Timeline

  • 2026-02-25 - CVE CVE-2026-27495 published to NVD
  • 2026-02-25 - Last updated in NVD database

Technical Details for CVE-2026-27495

Vulnerability Analysis

This vulnerability represents a critical code injection flaw (CWE-94) in n8n's JavaScript Task Runner sandbox implementation. The sandbox is designed to provide isolated execution environments for workflow code, but a weakness in the boundary enforcement allows authenticated users to break out of this isolation.

The exploitation requires the attacker to have valid credentials and permissions to create or modify workflows within the n8n instance. Additionally, Task Runners must be enabled via the N8N_RUNNERS_ENABLED=true configuration setting. When these conditions are met, the attacker can craft malicious workflow code that escapes the sandbox constraints.

The impact varies based on the Task Runner configuration:

  • Internal Task Runners (default mode): Full compromise of the n8n host is possible, as the sandbox escape grants access to the underlying system
  • External Task Runners: The attacker may gain access to or impact other tasks executed on the Task Runner, providing lateral movement opportunities

Root Cause

The root cause lies in insufficient boundary enforcement within the JavaScript Task Runner sandbox. The sandbox implementation fails to properly isolate workflow code execution from the host environment, allowing carefully crafted JavaScript to access resources and execute code outside the intended sandbox scope. This represents a failure in the secure code execution model that workflow automation platforms rely upon.

Attack Vector

The attack is network-accessible, requiring low privileges (authenticated user with workflow permissions) and no user interaction. An attacker must:

  1. Obtain valid credentials to the n8n instance
  2. Have permissions to create or modify workflows
  3. Ensure Task Runners are enabled (N8N_RUNNERS_ENABLED=true)
  4. Craft a malicious workflow containing JavaScript code designed to escape the sandbox

The vulnerability exploits weaknesses in how the Task Runner evaluates and isolates JavaScript code within workflows. When the malicious workflow is executed, the sandbox escape triggers, allowing the attacker's code to run with the privileges of the Task Runner process rather than within the restricted sandbox environment.

For technical details on the sandbox escape mechanism, refer to the GitHub Security Advisory GHSA-jjpj-p2wh-qf23.

Detection Methods for CVE-2026-27495

Indicators of Compromise

  • Unusual workflow modifications by users who don't typically edit automation workflows
  • Unexpected processes spawned by the n8n Task Runner process
  • Anomalous outbound network connections from n8n host systems
  • Workflow execution logs containing obfuscated or suspicious JavaScript code patterns

Detection Strategies

  • Monitor workflow creation and modification events for suspicious JavaScript patterns that may indicate sandbox escape attempts
  • Implement process monitoring on n8n hosts to detect unexpected child processes of the Task Runner
  • Review audit logs for workflow changes made by users with elevated permissions
  • Deploy file integrity monitoring on n8n installation directories

Monitoring Recommendations

  • Enable comprehensive logging for workflow execution events and Task Runner activity
  • Configure alerts for workflow modifications that include code evaluation patterns
  • Monitor system calls and process trees originating from the n8n application
  • Establish baseline behavior for Task Runner processes to detect anomalous execution patterns

How to Mitigate CVE-2026-27495

Immediate Actions Required

  • Upgrade n8n to version 2.10.1, 2.9.3, or 1.123.22 or later immediately
  • Audit all users with workflow creation and modification permissions
  • Review recently created or modified workflows for suspicious code patterns
  • Consider disabling Task Runners (N8N_RUNNERS_ENABLED=false) if not actively required until patching is complete

Patch Information

n8n has released security patches addressing this vulnerability in multiple version branches. Organizations should upgrade to one of the following fixed versions:

  • n8n version 2.10.1
  • n8n version 2.9.3
  • n8n version 1.123.22

For detailed configuration information regarding Task Runners, refer to the n8n Task Runners Configuration documentation.

Workarounds

  • Limit workflow creation and editing permissions to fully trusted users only until patching is complete
  • Configure external runner mode (N8N_RUNNERS_MODE=external) to limit the blast radius of potential exploitation
  • Implement network segmentation to isolate n8n hosts from critical infrastructure
bash
# Configuration to use external runner mode as temporary mitigation
export N8N_RUNNERS_MODE=external

# Note: These workarounds do not fully remediate the risk
# and should only be used as short-term mitigation measures
# Upgrade to patched versions as soon as possible

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

  • 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
  • n8n Task Runners Configuration

  • GitHub Release n8n@1.123.22

  • GitHub Release n8n@2.10.1

  • GitHub Release n8n@2.9.3

  • GitHub Security Advisory GHSA-jjpj-p2wh-qf23
  • Related CVEs
  • CVE-2026-27577: n8n Workflow Automation RCE Vulnerability

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

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

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