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.
CVE-2025-59528
This critical-severity CVE scores 10.0 under NVD CVSS v3. EPSS exploit probability: 90.2%, top 0% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High exploitation likelihood — EPSS 90%
- Public exploit code is available (Metasploit, ssvc poc, epss top5pct, epss high, public exploit)
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 10.0
- EG Score
- 10.0(medium)
- EG Risk
- 96(Attend)EG Risk 96/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity100% × 45%Exploitation90% × 40%Automatability100% × 15%Action: Remediate soon — notable exploitation risk. - EPSS PROB
- 90%
- EPSS %ILE
- 100%
- KEV
- Not listed
Published
September 22, 2025
Last Modified
September 23, 2025
Advisory Details (8)
Auto-updated Aug 8, 2026RCE in FlowiseAI/Flowise · Advisory · FlowiseAI/Flowise · GitHub
https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-3gcm-f6qx-ff7p[email protected]
Patch available: FlowiseAI/Flowise [email protected]
https://github.com/FlowiseAI/Flowise/releases/tag/flowise%403.0.6Flowise/packages/server/src/services/nodes/index.ts at 5930f1119c655bcf8d2200ae827a1f5b9fec81d0 · FlowiseAI/Flowise · GitHub
https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/services/nodes/index.ts#L91-L94Flowise/packages/server/src/routes/node-load-methods/index.ts at 5930f1119c655bcf8d2200ae827a1f5b9fec81d0 · FlowiseAI/Flowise · GitHub
https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/routes/node-load-methods/index.ts#L5Flowise/packages/server/src/controllers/nodes/index.ts at 5930f1119c655bcf8d2200ae827a1f5b9fec81d0 · FlowiseAI/Flowise · GitHub
https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/controllers/nodes/index.ts#L57-L78Flowise/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts at 5930f1119c655bcf8d2200ae827a1f5b9fec81d0 · FlowiseAI/Flowise · GitHub
https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L262-L270Flowise/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts at 5930f1119c655bcf8d2200ae827a1f5b9fec81d0 · FlowiseAI/Flowise · GitHub
https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L220Flowise/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts at 5930f1119c655bcf8d2200ae827a1f5b9fec81d0 · FlowiseAI/Flowise · GitHub
https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L132Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| flowise | 3.0.5 | 3.0.6 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 3× in last 7d / 12× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-04 15:09 UTCEPSS rescore
- 2026-08-04 15:09 UTCEPSS rescore
- 2026-08-03 10:35 UTCEPSS rescore
- 2026-08-01 04:15 UTCEPSS rescore
- 2026-07-28 15:35 UTCEPSS rescore
- 2026-07-24 14:17 UTCEPSS rescore
- 2026-07-23 19:41 UTCOSV refresh
- 2026-07-23 03:00 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-06 13:41 UTCOSV refresh
- 2026-07-02 17:01 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 02:05 UTCOSV refresh
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:48 UTCEPSS rescore
- 2026-06-14 23:17 UTCEPSS rescore
Show 20 moreShow fewer
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-29 22:11 UTCEG score recompute
- 2026-05-29 13:44 UTCEPSS rescore
Publicly available exploits
(3 references)Working exploit code is in the public domain (1 Metasploit module) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-52440First seen Oct 31, 2025
Flowise 3.0.4 - Remote Code Execution (RCE)
Open source ↗ - Metasploitexploit/multi/http/flowise_js_rce✓ verifiedFirst seen Sep 13, 2025
Flowise JS Injection RCE
Open source ↗ - Nucleihttp/cves/2025/CVE-2025-59528.yamlFirst seen Jan 1, 2025
Flowise - Remote Code Execution
Open source ↗
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
- CVE-2003-1432EG 10.0EPSS p94HIGH
- CVE-2002-0495EG 10.0EPSS p96HIGH
- CVE-1999-0702EG 10.0EPSS p98HIGH
- CVE-1999-0509EG 10.0EPSS p98HIGH
- CVE-2006-1318EG 9.3EPSS p96HIGH
- CVE-2006-1301EG 9.3EPSS p95HIGH
- CVE-2006-1308EG 9.3EPSS p95HIGH
- CVE-2006-1309EG 9.3EPSS p95HIGH
- CVE-2006-1304EG 9.3EPSS p95HIGH
- CVE-2006-1306EG 9.3EPSS p95HIGH
Frequently asked(5)
What is CVE-2025-59528?
When was CVE-2025-59528 disclosed?
Is CVE-2025-59528 actively exploited?
What is the CVSS score of CVE-2025-59528?
How do I remediate CVE-2025-59528?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-59528
Is Your Infrastructure Affected by CVE-2025-59528?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.