The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2025-55526

CVE-2025-55526: N8n Fastapi Path Traversal Vulnerability

CVE-2025-55526 is a path traversal vulnerability in N8n Fastapi that allows attackers to access unauthorized directories via the download_workflow function. This article covers technical details, affected versions, and mitigation.

Published: March 18, 2026

CVE-2025-55526 Overview

CVE-2025-55526 is a critical directory traversal vulnerability affecting the n8n-workflows project, specifically within the download_workflow function in api_server.py. This vulnerability allows remote attackers to access files outside the intended directory structure by manipulating file path inputs, potentially leading to unauthorized access to sensitive system files and data exfiltration.

Critical Impact

Attackers can exploit this directory traversal flaw to read arbitrary files on the system, potentially exposing configuration files, credentials, and other sensitive data without requiring authentication.

Affected Products

  • n8n FastAPI 0.115.14
  • n8n Pydantic 2.11.7
  • n8n Uvicorn 0.35.0
  • Microsoft Windows 11

Discovery Timeline

  • 2025-08-26 - CVE-2025-55526 published to NVD
  • 2025-09-15 - Last updated in NVD database

Technical Details for CVE-2025-55526

Vulnerability Analysis

This directory traversal vulnerability (CWE-22) exists in the download_workflow function within the api_server.py component of n8n-workflows. The vulnerability is network-accessible, requires no authentication, and can be exploited with low attack complexity. Successful exploitation enables attackers to access files with high confidentiality and integrity impact, though availability remains unaffected.

The core issue stems from insufficient input validation when processing user-supplied file paths. When a user requests to download a workflow file, the application fails to properly sanitize the input, allowing attackers to use path traversal sequences to escape the intended directory.

Root Cause

The root cause of this vulnerability is improper input validation in the download_workflow function. The function does not adequately sanitize or validate user-supplied file path parameters before using them in file system operations. This allows attackers to include directory traversal characters such as ../ or ..\ (on Windows systems) to navigate outside the application's designated workflow directory and access arbitrary files on the system.

The affected components include the FastAPI-based API server running on Uvicorn, where the file download endpoint accepts user input that is directly incorporated into file path construction without proper validation or canonicalization.

Attack Vector

The attack vector for CVE-2025-55526 is network-based, meaning attackers can exploit this vulnerability remotely without requiring any prior authentication or user interaction. An attacker would craft a malicious HTTP request to the download_workflow endpoint, embedding directory traversal sequences in the workflow name or path parameter.

For example, an attacker could manipulate the request to include sequences like ../../../etc/passwd on Linux systems or ..\..\..\..\windows\system32\config\sam on Windows systems to access sensitive files outside the intended directory structure.

The vulnerability is particularly dangerous because it combines high confidentiality impact (attackers can read arbitrary files) with high integrity impact (potential for file manipulation), all without requiring any privileges or user interaction.

Detection Methods for CVE-2025-55526

Indicators of Compromise

  • HTTP requests to the workflow download endpoint containing path traversal sequences such as ../, ..\, %2e%2e%2f, or %2e%2e/
  • Unusual file access patterns in application logs showing attempts to access files outside the workflows directory
  • Web server logs showing requests with encoded directory traversal patterns targeting the API server
  • Access attempts to sensitive system files such as /etc/passwd, /etc/shadow, or Windows SAM database files

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block requests containing directory traversal patterns in URL parameters and request bodies
  • Enable detailed logging on the n8n-workflows API server and monitor for file access attempts outside designated directories
  • Deploy file integrity monitoring (FIM) on sensitive system directories to detect unauthorized read access
  • Configure intrusion detection systems (IDS) to alert on HTTP requests containing path traversal sequences targeting the affected endpoint

Monitoring Recommendations

  • Monitor web server access logs for requests to the download_workflow endpoint with suspicious path parameters
  • Set up alerts for any file access operations that resolve to paths outside the application's workflow storage directory
  • Review API server logs regularly for patterns indicating reconnaissance or exploitation attempts
  • Implement real-time monitoring of file system access to detect reads of sensitive configuration or credential files

How to Mitigate CVE-2025-55526

Immediate Actions Required

  • Update the n8n-workflows installation to the latest version that addresses this vulnerability
  • Implement input validation to reject any file path containing directory traversal sequences
  • Deploy a Web Application Firewall (WAF) with rules to block path traversal attempts
  • Restrict file system permissions for the n8n-workflows process to only the necessary directories
  • Review access logs for any evidence of prior exploitation attempts

Patch Information

Organizations should monitor the GitHub Issue Discussion for updates on official patches and remediation guidance. As this vulnerability affects commit ee25413 in the main branch, users should update to a newer commit or release that addresses this security flaw once available.

Workarounds

  • Implement a reverse proxy or WAF in front of the API server to filter and block requests containing path traversal sequences
  • Modify the download_workflow function to canonicalize and validate file paths before processing, ensuring they resolve within the intended directory
  • Restrict network access to the n8n-workflows API server to trusted IP addresses only
  • Run the application in a containerized environment with minimal file system access to limit the impact of potential exploitation
bash
# Example WAF rule configuration (ModSecurity)
# Block directory traversal attempts in request parameters
SecRule REQUEST_URI|ARGS|ARGS_NAMES "@rx (\.\./|\.\.\\)" \
    "id:100001,phase:2,deny,status:403,log,msg:'Directory Traversal Attempt Blocked'"

# Restrict file access to specific directory (application-level fix example)
# Ensure workflow_path is within allowed directory
# ALLOWED_DIR="/var/n8n-workflows/workflows"
# realpath validation before file operations

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechN8n

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.54%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Issue Discussion
  • Related CVEs
  • CVE-2026-33722: n8n Workflow Automation Auth Bypass Flaw

  • CVE-2026-27496: n8n Information Disclosure Vulnerability

  • CVE-2026-33663: n8n Auth Bypass Vulnerability

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