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-2026-30821

CVE-2026-30821: Flowiseai Flowise RCE Vulnerability

CVE-2026-30821 is a remote code execution flaw in Flowiseai Flowise that allows attackers to bypass file upload validation and execute malicious code. This post covers technical details, affected versions, impact, and mitigation.

Published: March 13, 2026

CVE-2026-30821 Overview

CVE-2026-30821 is an Unrestricted File Upload vulnerability (CWE-434) affecting Flowise, a popular drag-and-drop user interface for building customized large language model flows. Prior to version 3.0.13, the /api/v1/attachments/:chatflowId/:chatId endpoint is included in WHITELIST_URLS, enabling unauthenticated access to the file upload API. While the server validates uploads based on MIME types defined in chatbotConfig.fullFileUpload.allowedUploadFileTypes, it implicitly trusts the client-provided Content-Type header (file.mimetype) without verifying the file's actual content (magic bytes) or extension (file.originalname).

This design flaw allows attackers to bypass file type restrictions by spoofing the Content-Type header as a permitted type (e.g., application/pdf) while uploading malicious scripts or arbitrary files. Once uploaded via addArrayFilesToStorage, these files persist in backend storage (S3, GCS, or local disk), creating a critical entry point for further exploitation.

Critical Impact

When chained with other features like static hosting or file retrieval, this vulnerability can lead to Stored XSS, malicious file hosting, or Remote Code Execution (RCE).

Affected Products

  • Flowise versions prior to 3.0.13
  • FlowiseAI Flowise (all deployment configurations: S3, GCS, local disk)
  • Flowise instances with unauthenticated file upload endpoints exposed

Discovery Timeline

  • 2026-03-07 - CVE-2026-30821 published to NVD
  • 2026-03-11 - Last updated in NVD database

Technical Details for CVE-2026-30821

Vulnerability Analysis

This vulnerability represents a classic Unrestricted File Upload flaw that stems from insufficient server-side validation of uploaded files. The Flowise application's attachment endpoint exists in a whitelisted URL configuration, meaning it bypasses authentication checks entirely. This allows any unauthenticated user to interact with the file upload functionality.

The core issue lies in the validation mechanism: while Flowise implements MIME type checking through chatbotConfig.fullFileUpload.allowedUploadFileTypes, this validation relies exclusively on the Content-Type header supplied by the client during the HTTP multipart form-data upload. Since this header is entirely client-controlled, an attacker can trivially bypass the restriction by setting a permitted MIME type while uploading content that doesn't match that type.

The uploaded files are then persisted through addArrayFilesToStorage to the configured backend storage system without additional validation of the file's actual content or extension. This creates a persistent attack vector where malicious files remain accessible for subsequent exploitation.

Root Cause

The root cause is a failure to implement defense-in-depth file upload validation. The application trusts the client-provided Content-Type header without performing secondary validation through magic byte verification or file extension checks. Combined with the unauthenticated access to the upload endpoint, this creates an exploitable condition where arbitrary files can be uploaded to the server's storage backend.

Attack Vector

The attack can be executed remotely over the network by any unauthenticated user who can reach the Flowise instance. The exploitation flow involves crafting an HTTP POST request to /api/v1/attachments/:chatflowId/:chatId with a spoofed Content-Type header that matches an allowed MIME type while including malicious content in the request body.

An attacker would construct a multipart form-data request targeting the vulnerable endpoint. By setting the Content-Type header to an allowed value such as application/pdf while actually uploading a malicious script file (e.g., HTML with embedded JavaScript, or a web shell), the attacker can bypass the MIME type validation. The uploaded file is then stored persistently and can be accessed later to execute Stored XSS attacks, serve malware, or potentially achieve Remote Code Execution depending on how the application serves or processes these files.

For detailed technical information and proof-of-concept details, refer to the GitHub Security Advisory GHSA-j8g8-j7fc-43v6.

Detection Methods for CVE-2026-30821

Indicators of Compromise

  • Unusual file uploads to /api/v1/attachments/ endpoints with mismatched MIME types and file extensions
  • Presence of script files (.html, .js, .php, .svg) in attachment storage directories with PDF or image MIME types in logs
  • Unauthenticated requests to attachment endpoints from unknown IP addresses
  • Unexpected file types in S3, GCS, or local storage backends used by Flowise

Detection Strategies

  • Implement web application firewall (WAF) rules to inspect multipart uploads for MIME type and content mismatches
  • Monitor access logs for requests to /api/v1/attachments/:chatflowId/:chatId from unauthenticated sessions
  • Deploy file integrity monitoring on Flowise storage directories to detect unexpected file types
  • Configure SIEM alerts for file upload activities that bypass authentication checks

Monitoring Recommendations

  • Enable detailed logging for all file upload operations including client IP, MIME type, filename, and file size
  • Set up alerts for file uploads occurring outside normal business hours or from suspicious geolocations
  • Monitor storage backends for files with executable extensions or script content
  • Track API endpoint access patterns to identify potential reconnaissance or exploitation attempts

How to Mitigate CVE-2026-30821

Immediate Actions Required

  • Upgrade Flowise to version 3.0.13 or later immediately
  • Audit attachment storage directories for any suspicious or malicious files uploaded prior to patching
  • Implement network-level access controls to restrict access to Flowise instances
  • Review application logs for evidence of exploitation attempts

Patch Information

FlowiseAI has addressed this vulnerability in version 3.0.13. The patch implements proper file content validation that goes beyond trusting the client-provided MIME type. Organizations running affected versions should upgrade immediately.

Patch and release information is available at the GitHub Flowise Release 3.0.13 page. Additional security details can be found in the GitHub Security Advisory GHSA-j8g8-j7fc-43v6.

Workarounds

  • Remove /api/v1/attachments/:chatflowId/:chatId from WHITELIST_URLS to require authentication for file uploads
  • Implement a reverse proxy or WAF rule to block or inspect requests to the attachment endpoint
  • Disable the file upload feature entirely if not required for business operations
  • Restrict network access to Flowise instances using firewall rules or VPN requirements
bash
# Example: nginx configuration to block unauthenticated access to attachment endpoint
location ~ ^/api/v1/attachments/ {
    # Require authentication or block entirely
    deny all;
    # Or implement custom authentication check
    # auth_request /auth/verify;
}

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechFlowise

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/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
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-434
  • Technical References
  • GitHub Flowise Release 3.0.13
  • Vendor Resources
  • GitHub Security Advisory GHSA-j8g8-j7fc-43v6
  • Related CVEs
  • CVE-2025-59528: Flowiseai Flowise RCE Vulnerability

  • CVE-2025-8943: Flowiseai Flowise RCE Vulnerability

  • CVE-2024-31621: Flowiseai Flowise RCE Vulnerability

  • CVE-2026-31829: Flowiseai Flowise SSRF 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
  • 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