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
    • 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-61913

CVE-2025-61913: Flowise Path Traversal Vulnerability

CVE-2025-61913 is a path traversal flaw in Flowiseai Flowise that allows authenticated attackers to read and write arbitrary files, potentially enabling remote command execution. This article covers technical details.

Published: April 1, 2026

CVE-2025-61913 Overview

CVE-2025-61913 is a critical path traversal vulnerability affecting Flowise, a popular drag-and-drop user interface for building customized large language model (LLM) flows. The vulnerability exists in the WriteFileTool and ReadFileTool components, which fail to properly restrict file path access. This allows authenticated attackers to read and write arbitrary files to any path in the file system, potentially leading to remote command execution.

Critical Impact

Authenticated attackers can exploit unrestricted file operations in Flowise to read sensitive system files, write malicious content to arbitrary locations, and potentially achieve remote code execution on affected systems.

Affected Products

  • Flowise versions prior to 3.0.8
  • FlowiseAI Flowise (all platforms running vulnerable versions)
  • Self-hosted Flowise deployments with authenticated user access

Discovery Timeline

  • October 8, 2025 - CVE-2025-61913 published to NVD
  • October 20, 2025 - Last updated in NVD database

Technical Details for CVE-2025-61913

Vulnerability Analysis

This path traversal vulnerability (CWE-22) stems from inadequate input validation in Flowise's file handling tools. The WriteFileTool and ReadFileTool components accept user-supplied file paths without proper sanitization, allowing authenticated users to break out of the intended workspace directory and access arbitrary locations on the file system.

The vulnerability is particularly dangerous because it combines both read and write capabilities. An attacker can first read sensitive configuration files, SSH keys, or credentials stored on the system, and then leverage write access to plant malicious files such as cron jobs, SSH authorized keys, or web shells that enable persistent remote code execution.

While authentication is required to exploit this vulnerability, many Flowise deployments may have relaxed authentication policies or be accessible to multiple users within an organization, expanding the potential attack surface significantly.

Root Cause

The root cause is the absence of path validation logic in the WriteFileTool and ReadFileTool components. Prior to version 3.0.8, these tools did not implement checks for path traversal sequences such as .., URL-encoded traversal patterns (%2e%2e, %2f, %5c), null bytes, control characters, or absolute path specifications. This allowed attackers to craft malicious file paths that escape the intended workspace directory and access any location readable or writable by the Flowise process.

Attack Vector

The attack is conducted over the network by authenticated users who can interact with Flowise's LLM flow builder. An attacker constructs a malicious file path containing traversal sequences and submits it through the affected file tools. The following patch demonstrates the security fix implemented to address this vulnerability:

typescript
/**
 * Enhanced path validation for workspace-scoped file operations
 * @param {string} filePath The file path to validate
 * @returns {boolean} True if path traversal detected, false otherwise
 */
export const isUnsafeFilePath = (filePath: string): boolean => {
    if (!filePath || typeof filePath !== 'string') {
        return true
    }

    // Check for path traversal patterns
    const dangerousPatterns = [
        /\.\./, // Directory traversal (..)
        /%2e%2e/i, // URL encoded ..
        /%2f/i, // URL encoded /
        /%5c/i, // URL encoded \
        /\0/, // Null bytes
        // eslint-disable-next-line no-control-regex
        /[\\x00-\\x1f]/, // Control characters
        /^\/[^/]/, // Absolute Unix paths (starting with /)
        /^[a-zA-Z]:\\/, // Absolute Windows paths (C:\)
        /^\\\\[^\\]/, // UNC paths (\\server\)
        /^\\\\\?\\/ // Extended-length paths (\\?\)
    ]

    return dangerousPatterns.some((pattern) => pattern.test(filePath))
}

Source: GitHub Commit Details

Detection Methods for CVE-2025-61913

Indicators of Compromise

  • Unusual file access patterns in Flowise logs indicating paths outside the expected workspace directory
  • Presence of traversal sequences (.., %2e%2e) in API request logs or application audit trails
  • Unexpected modifications to system configuration files, cron jobs, or SSH authorized_keys files
  • New or modified files in sensitive directories created by the Flowise process user

Detection Strategies

  • Monitor Flowise application logs for file operations containing path traversal patterns such as .., %2e, or absolute paths
  • Implement file integrity monitoring (FIM) on critical system directories to detect unauthorized file creation or modification
  • Configure web application firewalls (WAF) to detect and block requests containing common traversal patterns
  • Deploy endpoint detection and response (EDR) solutions to identify suspicious file system access by the Flowise process

Monitoring Recommendations

  • Enable verbose logging for Flowise file operations and aggregate logs to a centralized SIEM for analysis
  • Create alerts for file access attempts outside the designated Flowise workspace directory
  • Monitor the Flowise process for unexpected child process spawning that could indicate successful RCE exploitation
  • Review authentication logs for unusual access patterns that may precede exploitation attempts

How to Mitigate CVE-2025-61913

Immediate Actions Required

  • Upgrade Flowise to version 3.0.8 or later immediately to remediate this vulnerability
  • Review Flowise access logs for signs of exploitation, particularly file operations targeting sensitive system paths
  • Audit file system permissions and integrity on systems running vulnerable Flowise versions
  • Consider temporarily restricting access to Flowise instances until patching is complete

Patch Information

FlowiseAI has released version 3.0.8 which addresses this vulnerability by implementing comprehensive path validation. The fix introduces the isUnsafeFilePath function that checks for directory traversal sequences, URL-encoded bypass attempts, null bytes, control characters, and absolute path specifications. Organizations should upgrade to Flowise 3.0.8 or later as soon as possible. For technical details, see the GitHub Security Advisory GHSA-j44m-5v8f-gc9c and GitHub Release Notes.

Workarounds

  • Run Flowise with minimal file system permissions using a dedicated low-privilege user account
  • Deploy Flowise within a containerized environment with restricted volume mounts to limit file system exposure
  • Implement network segmentation to limit access to Flowise instances to only authorized users
  • Use a reverse proxy with WAF capabilities to filter malicious requests containing traversal patterns before they reach Flowise
bash
# Example: Run Flowise with restricted permissions in Docker
docker run -d \
  --name flowise \
  --user 1000:1000 \
  --read-only \
  --tmpfs /tmp \
  -v /opt/flowise/workspace:/workspace:rw \
  -p 3000:3000 \
  flowiseai/flowise:3.0.8

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechFlowise

  • SeverityCRITICAL

  • CVSS Score9.9

  • EPSS Probability0.70%

  • 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-22
  • Technical References
  • GitHub Release Notes
  • Vendor Resources
  • GitHub Commit Details

  • GitHub Security Advisory GHSA-j44m-5v8f-gc9c

  • GitHub Security Advisory GHSA-jv9m-vf54-chjj
  • Related CVEs
  • CVE-2026-31829: Flowiseai Flowise SSRF Vulnerability

  • CVE-2026-30820: Flowise Privilege Escalation Vulnerability

  • CVE-2026-30821: Flowiseai Flowise RCE Vulnerability

  • CVE-2026-30822: Flowise Auth Bypass 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