CVE-2025-59528 | Flowise CustomMCP node:flowise (npm) | Critical | 10.0
| Field |
Value |
| CVE / NVD |
CVE-2025-59528 |
| EPSS score |
0.901830000 (FIRST EPSS, 2026-06-30) |
| Date (index) |
2025-09-22 |
| Affected product (index) |
Flowise CustomMCP node:flowise (npm) |
| GHSA ID |
GHSA-3gcm-f6qx-ff7p |
| OWASP MCP Top 10 (2025) |
MCP05 — Command Injection & Execution |
| Published / disclosed |
2025-09-15 |
| Ecosystem |
npm |
| Component |
Flowise CustomMCP node:flowise (npm) |
| CVSS score |
10 CRITICAL CVSS v3.1 (NVD) |
| CWE |
CWE-94 |
| Affected versions |
3.0.5 |
| Fixed versions |
3.0.6 |
| Fix status |
Patched |
| Exploit status |
Active exploitation reported |
CVE Breakdown
What is the vulnerability?
Flowise has Remote Code Execution vulnerability
Attack prerequisites / exposure
The attacker needs control over tool arguments, command parameters, or MCP configuration that is forwarded into a process execution path. Exposure is worst when the service accepts remote requests or untrusted project/config input.
CVE is because of what bug?
Unsafe JavaScript execution from MCP configuration
MCP-specific impact / why it matters
Publicly exposed Flowise instances should be patched and isolated. The impact can extend from a single malformed input to host-level command execution.
Where was the bug? (source + snippet)
- Source repository: https://github.com/FlowiseAI/Flowise
- Code reference 1: https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L132
- Code reference 2: https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L220
- Code reference 3: https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L262-L270
- Code reference 4: https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/controllers/nodes/index.ts#L57-L78
Add a minimal vulnerable code snippet here after reviewing the linked source locations.
The remediation tightens input handling so untrusted values cannot change the executed command or code path, typically by validating arguments and removing unsafe shell-style evaluation.
Upstream fix (open source)
- https://github.com/FlowiseAI/Flowise/releases/tag/flowise%403.0.6
Workarounds / mitigations
- Upgrade to
3.0.6 or later as the primary remediation.
- Disable or isolate the affected tool/integration if untrusted users or content can influence command parameters.
- Treat MCP configuration and stdio server definitions as code execution surfaces and require review before loading them.
Exploit / PoC
Active exploitation has been reported. Only add defensive or patch-verification references here, and avoid linking turnkey weaponized payloads.
Detection / verification
- Inventory deployments still matching the affected version range:
3.0.5.
- Review process execution logs for unexpected flags, shell metacharacters, or spawned commands that include user-controlled values.
- Check whether exposed APIs or stored MCP configs allow untrusted users to define stdio commands or tool parameters.
Patch
https://github.com/FlowiseAI/Flowise/releases/tag/flowise%403.0.6
Reference links
- Code reference 1: https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L132
- Code reference 2: https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L220
- News: https://www.bleepingcomputer.com/news/security/max-severity-flowise-rce-vulnerability-now-exploited-in-attacks/
- Writeup: https://www.sonicwall.com/blog/flowiseai-custom-mcp-node-remote-code-execution-
- GitHub Advisory search: https://github.com/advisories?query=CVE-2025-59528
- OSV search: https://osv.dev/list?q=CVE-2025-59528
- Tenable: https://www.tenable.com/cve/CVE-2025-59528
- Snyk search: https://security.snyk.io/search?type=vuln&q=CVE-2025-59528
- GitLab advisory search: https://advisories.gitlab.com/search/?q=CVE-2025-59528