CVE Catalog

CVE-2025-59528

CriticalCVSS 10.0
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
86.22%

100th percentile - higher than 100% of all known CVEs

Summary

Flowise version 3.0.5 is vulnerable to remote code execution. The CustomMCP node passes user input directly to the Function() constructor, allowing execution of arbitrary JavaScript code with Node.js runtime privileges. The issue is patched in version 3.0.6.

Risk Assessment

An attacker can execute arbitrary code within the application context, gaining access to dangerous modules like child_process and fs, potentially leading to full system compromise.

Recommendation

Immediately update Flowise to version 3.0.6 or later.

Other vulnerabilities in Flowise

See all
Original NVD description (English source)

Flowise is a drag & drop user interface to build a customized large language model flow. In version 3.0.5, Flowise is vulnerable to remote code execution. The CustomMCP node allows users to input configuration settings for connecting to an external MCP server. This node parses the user-provided mcpServerConfig string to build the MCP server configuration. However, during this process, it executes JavaScript code without any security validation. Specifically, inside the convertToValidJSONString function, user input is directly passed to the Function() constructor, which evaluates and executes the input as JavaScript code. Since this runs with full Node.js runtime privileges, it can access dangerous modules such as child_process and fs. This issue has been patched in version 3.0.6.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS