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.
Fix
Public exploits 15
- Flowise JS Injection RCE (exploit module) Metasploit · verified · 2025-09-13
- Flowise 3.0.4 - Remote Code Execution (RCE) (webapps · multiple) Exploit-DB · 2025-10-31
- Amoru-Bek/CVE-2025-59528-Poc PoC on GitHub
- Loaxert/CVE-2025-59528-PoC PoC on GitHub
- Moon-Harvest/CVE-2025-59528 PoC on GitHub
- NymiiTechTips/CVE-2025-59528 PoC on GitHub
- UsifAraby/CVE-2025-59528-POC PoC on GitHub
- arensballiu/Flowise-RCE-CVE-2025-59528 PoC on GitHub
- corey-farley/CVE-2025-59528-Flowise-RCE PoC on GitHub
- hackpatato/PoC-and-yara-rules-of-CVE-2025-59528-Flowise-has-Remote-Code-Execution-vulnerability PoC on GitHub
- mananispiwpiw/CVE-2025-59528-PoC PoC on GitHub
- maradonam18/-CVE-2025-59528-PoC PoC on GitHub
- sonnelon/CVE-2025-59528-PoC PoC on GitHub
- vanhari/CVE-2025-59528 PoC on GitHub
- zimshk/CVE-2025-59528.yaml PoC on GitHub
Each line links to the index that lists it, never to exploit code. Exploit-DB's "verified" and a Metasploit rank of good or better count as verified; a PoC-in-GitHub entry is a repository's claim.
Patch, vendor advisory and mitigation references on NVD 1
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-3gcm-f6qx-ff7p Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 10.0 · flowiseaiNVD modified 2026-10-18 21:10
Affected (CPE criteria) 1
cpe:2.3:a:flowiseai:flowise:3.0.5:*:*:*:*:*:*:*
References 8
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L132 Product
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L220 Product
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L262-L270 Product
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/controllers/nodes/index.ts#L57-L78 Product
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/routes/node-load-methods/index.ts#L5 Product
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/services/nodes/index.ts#L91-L94 Product
- https://github.com/FlowiseAI/Flowise/releases/tag/flowise%403.0.6 Release Notes
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-3gcm-f6qx-ff7p Exploit, Vendor Advisory