Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FlowiseAI | Flowise | = 3.0.5 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Flowise JS Injection RCE
exploit/multi/http/flowise_js_rce
Exploit-DB 1
- Flowise 3.0.4 - Remote Code Execution (RCE) EDB-52440 · webapps · Oct 31, 2025
GitHub 13 repositories · most starred shown
-
hackpatato/PoC-and-yara-rules-of-CVE-2025-59528-Flowise-has-Remote-Code-Execution-vulnerability ★ 1 · Aug 28, 2026
poc and yara rules
-
corey-farley/CVE-2025-59528-Flowise-RCE ★ 1 · May 17, 2026
Authenticated RCE PoC for Flowise version <= 3.0.5 via CustomMCP Node (CVE-2025-59528)
-
NymiiTechTips/CVE-2025-59528 ★ 1 · May 16, 2026
Technical PoC for CVE-2025-59528 (Flowise < 3.0.5), demonstrating authenticated RCE through customMCP mcpServerConfig injection, with clear bilingual documentation and reproducible steps for authoriz…
-
mananispiwpiw/CVE-2025-59528-PoC ★ 1 · May 1, 2026
CVE-2025-59528 Proof of Concept
-
maradonam18/-CVE-2025-59528-PoC ★ 1 · Apr 15, 2026
A simple python script to exploit CVE-2025-59528, this an Authenticated RCE vulnerability in Flowise application, a popular AI tool. That is also used in HTB seasonal challenge. The issue is present …
-
arensballiu/Flowise-RCE-CVE-2025-59528 ★ 1 · Apr 15, 2026
Authenticated Remote Code Execution (RCE) exploit for Flowise AI versions ≤ 3.0.4. Leverages a vulnerability in the /api/v1/node-load-method/customMCP endpoint to execute arbitrary system commands vi…
-
vanhari/CVE-2025-59528 ★ 1 · Apr 13, 2026
CVE-2025-59528 Proof of Concept
-
UsifAraby/CVE-2025-59528-POC ★ 1 · Apr 13, 2026
CVE-2025-59528 - FlowiseAI CustomMCP Remote Code Execution
-
Moon-Harvest/CVE-2025-59528 ★ 0 · Jun 9, 2026
Go Proof of Concept (PoC) exploit for Flowise CustomMCP Remote Code Execution (RCE) CVE-2025-59528
-
zimshk/CVE-2025-59528.yaml ★ 0 · Nov 2, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Flowise - Remote Code Execution http/cves/2025/CVE-2025-59528.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | flowise | >= 3.0.5, < 3.0.6 | 3.0.6 | GHSA-3gcm-f6qx-ff7p |
Advisories 1
- WID-SEC-2025-2105 Flowise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 22, 2025
References
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-3gcm-f6qx-ff7p
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L132
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L220
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L262-L270
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/controllers/nodes/index.ts#L57-L78
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/routes/node-load-methods/index.ts#L5
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/services/nodes/index.ts#L91-L94
- https://github.com/FlowiseAI/Flowise/releases/tag/flowise%403.0.6