CVE-2025-59528
Flowise vulnerability analysis and mitigation

Overview

CVE-2025-59528 is a critical remote code execution (RCE) vulnerability discovered in Flowise version 3.0.5. The vulnerability exists in the CustomMCP node component which allows users to input configuration settings for connecting to an external MCP (Model Context Protocol) server. The issue was disclosed and patched in September 2025 with the release of version 3.0.6 (Flowise Release).

Technical details

The vulnerability stems from improper control of code generation (CWE-94) in the CustomMCP node's handling of user-provided mcpServerConfig strings. The convertToValidJSONString function executes user input directly through the Function() constructor without validation, allowing arbitrary JavaScript code execution with full Node.js runtime privileges. The vulnerability flow begins at the API endpoint /api/v1/node-load-method/customMCP and progresses through multiple components before reaching the dangerous code execution point (Security Advisory).

Impact

The vulnerability allows attackers to execute arbitrary JavaScript code on the Flowise server with only an API token required. This can lead to complete system compromise, including full file system access, command execution capabilities, and potential sensitive data exfiltration. The CVSS v3.1 base score is 10.0 (Critical), with attack vector: Network, attack complexity: Low, privileges required: None, user interaction: None, scope: Changed, and maximum impact on confidentiality, integrity, and availability (Security Advisory).

Mitigation and workarounds

The vulnerability has been patched in Flowise version 3.0.6. Users are strongly advised to upgrade to this version or later to protect against this security risk. The fix was released as part of a larger update that included multiple security improvements and bug fixes (Flowise Release).

Additional resources


SourceThis report was generated using AI

Related Flowise vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59528CRITICAL10
  • FlowiseFlowise
  • flowise
NoYesSep 22, 2025
GHSA-q67q-549q-p849CRITICAL9.8
  • FlowiseFlowise
  • flowise
NoYesSep 15, 2025
GHSA-99pg-hqvx-r4gfCRITICAL9.1
  • FlowiseFlowise
  • flowise
NoYesSep 15, 2025
GHSA-6933-jpx5-q87qHIGH8.9
  • FlowiseFlowise
  • flowise
NoYesSep 15, 2025
CVE-2025-59527HIGH7.5
  • FlowiseFlowise
  • flowise
NoYesSep 22, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management