CVE-2025-59528: FlowiseAI Flowise · Code Injection
Affects FlowiseAI FlowiseSource CVE Database V5
Public exploit available (Metasploit, Exploit-DB) · 86% EPSS · CVSS 10.0 Critical · fixed in 3.0.6 : patch FlowiseAI Flowise as a priority.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 86.2% chance of exploitation in 30 days – higher than 99% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.0.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 22 Sep 2025
Detectable: evidence found.
Weaponised: evidence found.
1 Metasploit module · 1 Exploit-DB entry, 39 days after disclosure
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE ID reserved
by GitHub, Inc.
, 5 days before disclosure
CVE published
on cve.org
, t = 0
In Threat Radar
record ingested
, 5 minutes after disclosure
First Exploit-DB entry (opens in a new tab)
Flowise 3.0.4 - Remote Code Execution (RCE)
, 39 days after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| FlowiseAI Flowise | Affected
| Fixed in– |
AI-suggested
- Immediate upgrade: Organizations should promptly update Flowise to version 3.0.6 or later, where this vulnerability is patched.
- Network segmentation: Restrict access to Flowise management interfaces to trusted internal networks or VPNs to minimize exposure to untrusted actors.
- Input validation: Although the patch addresses the root cause, additional input validation and sanitization should be implemented to prevent arbitrary code execution.
- Monitoring and detection: Deploy monitoring solutions to detect anomalous behavior on hosts running Flowise, such as unexpected child process creation or unusual file system access.
- Access controls: Enforce strict access controls and authentication mechanisms around Flowise interfaces to reduce the risk of unauthorized configuration changes.
- Incident response readiness: Prepare incident response plans to quickly isolate and remediate compromised systems if exploitation is suspected.
- Vendor communication: Stay informed via FlowiseAI security advisories for any further updates or mitigations.
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.
References
- github.com/FlowiseAI/Flowise/security/advisories/GHSA-3gcm-f6qx-ff7p (opens in a new tab)
- github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts (opens in a new tab)
- github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts (opens in a new tab)
- github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts (opens in a new tab)
- github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/controllers/nodes/index.ts (opens in a new tab)
- github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/routes/node-load-methods/index.ts (opens in a new tab)
- github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/services/nodes/index.ts (opens in a new tab)
- github.com/FlowiseAI/Flowise/releases/tag/flowise%403.0.6 (opens in a new tab)