Flowise has Remote Code Execution vulnerability
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 3.0.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 1 on Exploit-DB, 1 Metasploit module, 13 proofs of concept on GitHub, 1 Nuclei template
- Exploitation: poc
- Automatable: yes
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: yes · Technical impact: total
- Record last updated
- Public exploit on Exploit-DB
EDB-52440
- EPSS reached 10%
FIRST estimates at least a 10% chance of exploitation in the next 30 days
Affected versions
- FlowiseAI Flowise
3.0.5
- flowisenpm
From 3.0.5 · fixed in 3.0.6
References 24
GitHub · FlowiseAI/Flowise
- Advisory GHSA-3gcm-f6qx-ff7p
- packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts · L132
- packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts · L220
- packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts · L262-L270
- packages/server/src/controllers/nodes/index.ts · L57-L78
- packages/server/src/routes/node-load-methods/index.ts · L5
- packages/server/src/services/nodes/index.ts · L91-L94
- Release flowise@3.0.6