Patchfirst
CVE-2025-59528 Public exploit Critical · 10.0 EPSS 91.8%

Flowise has Remote Code Execution vulnerability

Fix:upgrade flowise to 3.1.3 or later also fixes CVE-2025-58434, CVE-2025-71334, +5 Details ↓

FlowiseAI · Flowise

Summary

The Flowise product from FlowiseAI contains a code injection flaw in its CustomMCP node, where the user-supplied mcpServerConfig string is evaluated as JavaScript through the Function() constructor inside the convertToValidJSONString function, without any security validation. An attacker who can submit configuration to this node over the network, with no authentication or user interaction required, can execute arbitrary code with full Node.js runtime privileges, including access to modules such as child_process and fs.

Official description · CVE.org

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.

Breakdown
72.0 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 6 months after disclosure. Public exploit code (Metasploit) was available 9 days before disclosure.

  1. Public exploit codeMetasploit9 days before
  2. Disclosedday 0
  3. First seen exploitedVulnCheck KEV evidence+6 mo

Affected versions and fixes

as published in the CVE record

FlowiseAI Flowise

Affected: = 3.0.5

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: flowise.

Upgrade to 3.1.3 or later

Fixes this CVE and 7 other known vulnerabilities in this package (CVE-2025-58434, CVE-2025-71334, +5).

npmnpm install flowise@3.1.3

First fixed in 3.0.6 for CVE-2025-59528.

Affected versions

If you runUpgrade to
3.0.5 up to 3.0.63.1.3first fix for this CVE: 3.0.6

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

6 links, grouped by NVD tag (2 duplicates merged)
↑ ↓ chooseEnter openEsc close