CVE-2025-59528
Flowise has Remote Code Execution vulnerability
CVE-2025-59528 is a code injection in Flowiseai Flowise (CVSS 10.0, Critical).
Exploitation likely. EPSS gives it a 54% chance of exploitation in the next 30 days. Fixed in 3.0.6.
No public exploit knownFix3.0.6Upgrade to this build
e.g. Flowise - Remote Code Execution · OID 1.3.6.1.4.1.25623.1.0.155389
What to do
Find your product and version, then upgrade to the build on the right.
- FlowiseAI FlowiseAffected: = 3.0.5Upgrade to: not statedStated by: CVE record
- Npm FlowiseAffected: ≥ 3.0.5, < 3.0.6Upgrade to: 3.0.6Stated by: GitHub advisory
- Flowise AI FlowiseAffected: 3.0.5Upgrade to: not statedStated by: BDU
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check which version of Flowise your team is running (ask whoever set it up, or check the admin/about screen).
- If you are on version 3.0.5 or earlier, treat this as urgent.
- Upgrade Flowise to version 3.0.6 or later as soon as possible.
- If you cannot upgrade immediately, restrict access to the Flowise server so it cannot be reached from the public internet until patched.
- After upgrading, review the server for signs of unexpected activity (new accounts, unknown processes, unfamiliar outbound connections).
npm install flowise@3.0.6What it is
From the CVE record
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.
In plain language
Written by AI from the recordFlowise, a tool for building AI chatbot workflows, has a critical flaw that lets an attacker take full control of the server running it without needing a password — if you use Flowise, you should update it right away.
Unauthenticated remote code execution in Flowise's CustomMCP node, where attacker-controlled configuration strings are passed into JavaScript's Function() constructor and executed with full Node.js privileges (CWE-94), fixed in 3.0.6.
If you're affected
- Full server takeover
- Theft of connected API keys/credentials
- Access to any customer data processed by AI flows
- Ransomware or malware deployment
- Service outage
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
54% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
18 events over 429 days, from the signal feeds we watch.
- EPSS band changecritical → highepss band change
- EPSS band changehigh → critical
- EPSS band changehigh → criticalepss band change
- Patch availablerecord updated
- EPSS band changecritical → high
- EPSS band changecritical → highepss band change
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Scored 10.0 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope ChangedThe exploit can affect other components (e.g. sandbox escape, host compromise from VM)
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts
- github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts
- github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts
And 8 more references. See all after sign-in
Analysis on the cve.tools blog
In the news
Questions about CVE-2025-59528
- Is CVE-2025-59528 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 54%.
- Which versions are affected by CVE-2025-59528?
- Flowise: = 3.0.5. Flowise: ≥ 3.0.5, < 3.0.6. Flowise: 3.0.5.
- How do I fix or mitigate CVE-2025-59528?
- Upgrade to 3.0.6 or later. The advisory is on github.com.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Flowise, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI