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-27494

CVE-2026-27494: n8n Workflow Automation RCE Vulnerability

CVE-2026-27494 is a remote code execution vulnerability in n8n workflow automation platform affecting Python Code node sandbox escape. This post covers the technical details, affected versions, impact, and mitigation steps.

Published: February 27, 2026

CVE-2026-27494 Overview

CVE-2026-27494 is a sandbox escape vulnerability in n8n, the open source workflow automation platform. Authenticated users with permission to create or modify workflows can exploit the Python Code node to escape the sandbox environment. The sandbox implementation fails to sufficiently restrict access to certain built-in Python objects, enabling attackers to exfiltrate sensitive file contents or achieve remote code execution (RCE).

Critical Impact

On instances using internal Task Runners (default runner mode), successful exploitation could result in full compromise of the n8n host. On instances using external Task Runners, attackers might gain access to or impact other tasks executed on the Task Runner.

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-2026-27494 published to NVD
  • 2026-02-25 - Last updated in NVD database

Technical Details for CVE-2026-27494

Vulnerability Analysis

This vulnerability is classified under CWE-497 (Exposure of Sensitive System Information to an Unauthorized Control Sphere). The issue arises from inadequate sandboxing controls within n8n's Python Code node functionality. The sandbox environment, designed to provide a secure execution context for user-defined Python code within workflows, fails to properly restrict access to Python's introspection capabilities and built-in objects.

When Task Runners are enabled via the N8N_RUNNERS_ENABLED=true configuration flag, the Python Code node processes user-supplied scripts. The insufficient restrictions allow authenticated attackers to leverage Python's rich object model to break out of the intended sandbox boundaries. This escape permits access to the underlying file system and potentially enables arbitrary code execution on the host system.

Root Cause

The root cause lies in the incomplete implementation of sandbox restrictions for Python code execution. Python's object-oriented nature includes numerous built-in objects and methods that can be leveraged to access underlying system resources. The n8n sandbox did not adequately block access to these dangerous primitives, including objects that expose file system operations and process execution capabilities.

Attack Vector

This vulnerability is exploitable over the network and requires low attack complexity. An attacker must have authenticated access to the n8n platform with permissions to create or modify workflows. By crafting a malicious Python script within a workflow's Code node, the attacker can:

  1. Enumerate and access built-in Python objects that bypass sandbox restrictions
  2. Leverage these objects to read arbitrary files from the host system
  3. Execute arbitrary commands on the underlying system, potentially achieving full host compromise

The attack does not require user interaction and can be triggered whenever the malicious workflow is executed. On default configurations using internal Task Runners, successful exploitation grants the attacker access equivalent to the n8n process privileges.

Detection Methods for CVE-2026-27494

Indicators of Compromise

  • Unusual workflow modifications or creations targeting the Python Code node
  • Unexpected file access attempts originating from the n8n process
  • Anomalous system commands executed under the n8n service account
  • Workflow execution logs showing attempts to access Python builtins or introspection methods

Detection Strategies

  • Monitor workflow audit logs for suspicious Code node configurations, especially those referencing Python introspection capabilities
  • Implement file integrity monitoring on sensitive system files to detect unauthorized access from the n8n process
  • Review workflow change history for unauthorized modifications by users with elevated permissions
  • Deploy endpoint detection rules to identify sandbox escape patterns in Python execution contexts

Monitoring Recommendations

  • Enable verbose logging for n8n workflow executions and Task Runner activities
  • Configure alerting for any workflow modifications involving the Code node type
  • Monitor network traffic from n8n instances for unexpected outbound connections that could indicate data exfiltration
  • Audit user permissions regularly to ensure workflow creation rights are appropriately restricted

How to Mitigate CVE-2026-27494

Immediate Actions Required

  • Upgrade n8n to version 2.10.1, 2.9.3, or 1.123.22 or later immediately
  • Audit all existing workflows for potentially malicious Python Code nodes
  • Review and restrict workflow creation and editing permissions to fully trusted users only
  • Monitor for any signs of exploitation or unauthorized file access on n8n hosts

Patch Information

n8n has released security patches addressing this sandbox escape vulnerability. Users 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 complete details, refer to the GitHub Security Advisory GHSA-mmgg-m5j7-f83h.

Workarounds

  • Limit workflow creation and editing permissions to fully trusted users only
  • Disable the Code node by adding n8n-nodes-base.code to the NODES_EXCLUDE environment variable
  • Consider disabling Task Runners (N8N_RUNNERS_ENABLED=false) if Python code execution is not required
  • Implement network segmentation to isolate n8n instances from sensitive internal resources
bash
# Disable Python Code node as temporary mitigation
export NODES_EXCLUDE="n8n-nodes-base.code"

# Restart n8n service to apply changes
systemctl restart n8n

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechN8n

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/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
  • AvailabilityNone
  • CWE References
  • CWE-497
  • Technical References
  • GitHub Release n8n@1.123.22

  • GitHub Release n8n@2.10.1

  • GitHub Release n8n@2.9.3

  • GitHub Security Advisory GHSA-mmgg-m5j7-f83h
  • Related CVEs
  • CVE-2026-27577: n8n Workflow Automation RCE Vulnerability

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

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