Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. flowise
  4. ›
  5. CVE-2026-30821

CVE-2026-30821: Flowise has Arbitrary File Upload via MIME Spoofing

March 6, 2026 (updated March 9, 2026)


1. Root Cause The vulnerability stems from relying solely on the MIME type without cross-validating the file extension or actual content. This allows attackers to upload executable files (e.g., .js, .php) or malicious scripts (.html) by masquerading them as benign images or documents.

2. Key Attack Scenarios

  • Server Compromise (RCE): An attacker uploads a Web Shell and triggers its execution on the server. Successful exploitation grants system privileges, allowing unauthorized access to internal data and full control over the server.
  • Client-Side Attack (Stored XSS): An attacker uploads files containing malicious scripts (e.g., HTML, SVG). When a victim views the file, the script executes within their browser, leading to session cookie theft and account takeover.

3. Impact This vulnerability is rated as High severity. The risk is particularly critical if the system utilizes shared storage (e.g., S3, GCS) or static hosting features, as the compromise could spread to the entire infrastructure and affect other tenants.

References

  • github.com/FlowiseAI/Flowise
  • github.com/FlowiseAI/Flowise/releases/tag/flowise%403.0.13
  • github.com/FlowiseAI/Flowise/security/advisories/GHSA-j8g8-j7fc-43v6
  • github.com/advisories/GHSA-j8g8-j7fc-43v6
  • nvd.nist.gov/vuln/detail/CVE-2026-30821

Code Behaviors & Features

Detect and mitigate CVE-2026-30821 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.0.13

Fixed versions

  • 3.0.13

Solution

Upgrade to version 3.0.13 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

npm/flowise/CVE-2026-30821.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Mar 2026 00:16:48 +0000.