Flowise File Upload Vulnerability Allowing Remote Code Execution

Vulnerability

A file upload vulnerability has been identified in Flowise version 3.0.7. This vulnerability allows authenticated users to upload arbitrary files without proper validation, enabling the persistent storage of malicious Node.js web shells on the server. The issue arises because the application fails to validate file extensions, MIME types, or file content during the upload process. As a result, harmful scripts can be uploaded and executed if the web shell is triggered, potentially leading to remote code execution. This vulnerability poses a high-severity risk to the application's integrity and confidentiality.

Impact

Exploitation of this vulnerability allows for the persistent upload of malicious web shells, which can be executed to achieve remote code execution on the server.

Reproduction

The vulnerability can be reproduced by sending a POST request to the Flowise API attachment endpoint with a file that contains a web shell script. The request must include a valid JWT token in the cookie header to authenticate the user. Once the file is uploaded, the web shell can be accessed and executed via its exposed HTTP endpoint.

Added: Oct 6, 2025, 4:19 PM
Updated: Oct 6, 2025, 4:19 PM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
7.5
exploitability
6.2
remediation
0.0
relevance
0.7
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.