Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-1470

CVE-2026-1470: n8n Workflow Expression RCE Vulnerability

CVE-2026-1470 is a critical remote code execution flaw in n8n's workflow Expression evaluation system that allows authenticated attackers to execute arbitrary code. This article covers technical details, affected versions, and mitigation.

Published: January 30, 2026

CVE-2026-1470 Overview

n8n contains a critical Remote Code Execution (RCE) vulnerability in its workflow Expression evaluation system. Expressions supplied by authenticated users during workflow configuration may be evaluated in an execution context that is not sufficiently isolated from the underlying runtime.

An authenticated attacker could abuse this behavior to execute arbitrary code with the privileges of the n8n process. Successful exploitation may lead to full compromise of the affected instance, including unauthorized access to sensitive data, modification of workflows, and execution of system-level operations.

Critical Impact

Authenticated attackers can achieve full system compromise through arbitrary code execution with n8n process privileges, potentially leading to data theft, workflow manipulation, and lateral movement within the infrastructure.

Affected Products

  • n8n workflow automation platform (versions prior to the security patch)

Discovery Timeline

  • 2026-01-27 - CVE CVE-2026-1470 published to NVD
  • 2026-01-27 - Last updated in NVD database

Technical Details for CVE-2026-1470

Vulnerability Analysis

This vulnerability is classified as CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code, also known as "Eval Injection"). The flaw exists within n8n's Expression evaluation system, which processes user-supplied expressions during workflow configuration.

The core issue stems from insufficient isolation between the expression evaluation context and the underlying Node.js runtime environment. When authenticated users configure workflows, they can supply expressions that are dynamically evaluated. These expressions are not adequately sandboxed, allowing attackers to escape the intended evaluation context and execute arbitrary JavaScript code with the full privileges of the n8n server process.

This is particularly severe because n8n is commonly deployed to automate business-critical workflows and often has access to sensitive credentials, API keys, and internal network resources. A successful exploit could allow an attacker to access all connected services, exfiltrate data from integrated systems, and establish persistent access to the infrastructure.

Root Cause

The root cause is improper neutralization of directives in dynamically evaluated code (CWE-95). The expression evaluation engine failed to properly restrict access to dangerous JavaScript constructs and reserved variables that could be abused to break out of the sandbox and access the underlying runtime. Specifically, the vulnerable code did not block access to certain reserved variables and the with statement, both of which can be leveraged to escape the evaluation context.

Attack Vector

The attack is network-based and requires low-privilege authentication to the n8n instance. An attacker with valid credentials can craft malicious expressions within workflow configurations that exploit the insufficient isolation of the evaluation context. When these expressions are processed, the attacker's arbitrary code executes with the privileges of the n8n process, potentially gaining full control over the server and any connected systems or credentials.

The security patches introduce explicit validation to block dangerous constructs:

typescript
import { ExpressionError } from './expression.error';

export class ExpressionReservedVariableError extends ExpressionError {
	constructor(variableName: string) {
		super(`Cannot use "${variableName}" due to security concerns`);
	}
}

Source: GitHub Commit

typescript
import { ExpressionError } from './expression.error';

export class ExpressionWithStatementError extends ExpressionError {
	constructor() {
		super('Cannot use "with" statements due to security concerns');
	}
}

Source: GitHub Commit

Detection Methods for CVE-2026-1470

Indicators of Compromise

  • Unexpected or unauthorized workflow modifications containing complex or obfuscated expressions
  • Anomalous process spawning from the n8n server process (e.g., shell commands, reverse shells)
  • Unusual outbound network connections originating from the n8n instance
  • Log entries showing expression evaluation errors or security-related exceptions

Detection Strategies

  • Monitor n8n workflow audit logs for suspicious expression content, particularly those containing JavaScript runtime objects or dangerous constructs like with statements
  • Implement network-level monitoring for unexpected outbound connections from n8n servers
  • Deploy endpoint detection and response (EDR) solutions to identify anomalous child process creation
  • Review authentication logs for unauthorized or suspicious login attempts to n8n instances

Monitoring Recommendations

  • Enable verbose logging for n8n expression evaluation to capture potential exploitation attempts
  • Configure alerts for workflow modifications by low-privilege or recently created user accounts
  • Implement file integrity monitoring on n8n configuration and workflow directories
  • Monitor system resource utilization for signs of cryptomining or other post-exploitation activity

How to Mitigate CVE-2026-1470

Immediate Actions Required

  • Update n8n to the latest patched version containing commit aa4d1e5825829182afa0ad5b81f602638f55fa04
  • Audit all existing workflows for suspicious or unexpected expressions
  • Review user accounts and revoke access for any unauthorized or unnecessary accounts
  • Implement network segmentation to limit the blast radius of potential compromise

Patch Information

The vulnerability has been addressed in the n8n codebase through commit aa4d1e5825829182afa0ad5b81f602638f55fa04. The patch introduces new error classes that explicitly block the use of reserved variables and with statements in expressions. Organizations should update to a version containing this fix. For detailed technical analysis of the vulnerability, refer to the JFrog Vulnerability Report.

Workarounds

  • Restrict n8n access to only trusted users and implement strict authentication controls until patching is complete
  • Place n8n instances behind a reverse proxy with additional authentication layers
  • Implement network-level access controls to limit who can reach the n8n interface
  • Consider temporarily disabling workflow creation and editing capabilities for non-administrative users
bash
# Example: Restrict network access to n8n using iptables
# Allow only trusted IP ranges to access n8n port (default 5678)
iptables -A INPUT -p tcp --dport 5678 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 5678 -j DROP

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.9

  • EPSS Probability0.31%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-95
  • Technical References
  • GitHub Commit Overview

  • JFrog Vulnerability Report
  • Related CVEs
  • CVE-2026-33696: n8n Workflow Automation RCE Vulnerability

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

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

  • CVE-2026-27498: n8n Workflow Automation RCE Vulnerability
Default Legacy - Prefooter | 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