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

CVE-2026-25055: N8n Workflow Automation RCE Vulnerability

CVE-2026-25055 is a remote code execution vulnerability in N8n workflow automation that allows attackers to write files to unintended locations on remote systems. This article covers technical details, affected versions, and patches.

Published: February 6, 2026

CVE-2026-25055 Overview

CVE-2026-25055 is a path traversal vulnerability affecting n8n, an open source workflow automation platform. The vulnerability exists in workflows that process uploaded files and transfer them to remote servers via the SSH node. When file metadata is not properly validated, attackers can manipulate file paths to write files to unintended locations on remote systems, potentially leading to remote code execution.

Critical Impact

This path traversal flaw can enable unauthenticated attackers to achieve remote code execution on systems connected via SSH nodes when workflow endpoints lack authentication.

Affected Products

  • n8n versions prior to 1.123.12
  • n8n versions prior to 2.4.0
  • n8n workflow automation platform (Node.js)

Discovery Timeline

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

Technical Details for CVE-2026-25055

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Path Traversal), a weakness that occurs when software uses external input to construct a pathname intended to identify a file or directory located underneath a restricted parent directory. The n8n workflow automation platform fails to properly validate file metadata when workflows process uploaded files and transfer them to remote servers through SSH nodes.

The attack requires specific prerequisites to be exploited: an attacker must have knowledge that such vulnerable workflows exist, and the file upload endpoints must be unauthenticated. When these conditions are met, an attacker can craft malicious file uploads with manipulated metadata containing path traversal sequences (such as ../) to escape the intended directory structure on remote systems.

The impact is significant as successful exploitation can result in arbitrary file writes on remote systems connected via SSH, which can be leveraged into remote code execution through various techniques such as overwriting configuration files, cron jobs, or SSH authorized keys.

Root Cause

The root cause of this vulnerability lies in the insufficient validation of file metadata within n8n's SSH node implementation. When workflows transfer uploaded files to remote servers, the platform does not sanitize or validate the filename and path components against path traversal attempts. This allows specially crafted filenames containing directory traversal sequences to bypass intended directory restrictions and write files to arbitrary locations on the remote file system.

Attack Vector

The attack vector is network-based and can be exploited without authentication under specific conditions. An attacker must first identify an n8n instance with workflows that:

  1. Accept file uploads through unauthenticated endpoints
  2. Process and transfer those files to remote servers via SSH nodes
  3. Do not implement additional validation on file metadata

The attacker can then submit a malicious file with a crafted filename containing path traversal sequences. When the workflow processes this file and transfers it via SSH, the file is written to an unintended location on the remote system, potentially enabling code execution through mechanisms like cron job manipulation or SSH key injection.

For technical implementation details, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-25055

Indicators of Compromise

  • File uploads containing path traversal sequences such as ../, ..%2f, or ..%5c in filenames
  • Unexpected files appearing in system directories on SSH-connected remote servers
  • Workflow execution logs showing file transfers to paths outside expected directories
  • Authentication logs showing unauthorized access to file upload endpoints

Detection Strategies

  • Monitor n8n workflow logs for file upload activities with suspicious filenames containing traversal patterns
  • Implement web application firewall (WAF) rules to detect and block path traversal attempts in file upload requests
  • Review SSH transfer logs on connected remote systems for writes to sensitive directories
  • Deploy file integrity monitoring on remote systems to detect unauthorized file modifications

Monitoring Recommendations

  • Enable verbose logging on n8n instances to capture detailed file upload and transfer activities
  • Implement centralized log collection for n8n workflows and connected SSH endpoints
  • Configure alerts for file operations targeting sensitive paths such as /etc/, /root/, and cron directories
  • Regularly audit workflow configurations for unauthenticated file upload endpoints

How to Mitigate CVE-2026-25055

Immediate Actions Required

  • Upgrade n8n to version 1.123.12 or later for the 1.x branch
  • Upgrade n8n to version 2.4.0 or later for the 2.x branch
  • Review all workflows for unauthenticated file upload endpoints and add authentication requirements
  • Audit existing workflows that transfer files via SSH nodes for proper input validation

Patch Information

n8n has released security patches addressing this vulnerability. Organizations should update to the following versions:

  • Version 1.123.12 for users on the 1.x release branch
  • Version 2.4.0 for users on the 2.x release branch

The patches implement proper validation of file metadata to prevent path traversal attacks when files are transferred to remote systems via SSH nodes. For detailed patch information, consult the n8n GitHub Security Advisory.

Workarounds

  • Enable authentication on all workflow endpoints that accept file uploads
  • Implement additional input validation at the workflow level to sanitize filenames before SSH transfer
  • Restrict SSH node permissions to limit write access to specific directories on remote systems
  • Use network segmentation to limit exposure of n8n instances accepting file uploads
bash
# Example: Restrict SSH user to specific directory on remote systems
# Add to /etc/ssh/sshd_config on target SSH servers
Match User n8n-workflow
    ChrootDirectory /var/n8n-uploads
    ForceCommand internal-sftp
    AllowTcpForwarding no
    X11Forwarding no

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

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/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
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-25115: N8n Workflow Automation RCE Vulnerability

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

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

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