RCE in Flowiseai Flowise
CVE-2025-59528
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.
Vulnerability class: RCE (Remote Code Execution)
EPSS: 0.874 (99.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Flowiseai Flowise — versions 3.0.5, = 3.0.5
Weakness classification (CWE)
Public proof-of-concept exploits
- hackpatato/PoC-and-yara-rules-of-CVE-2025-59528-Flowise-has-Remote-Code-Execution-vulnerability
- im-nymii/CVE-2025-59528
- NymiiTechTips/CVE-2025-59528
- mananispiwpiw/CVE-2025-59528-PoC
- r3nsi15/Flowise-RCE-CVE-2025-59528
- maradonam18/-CVE-2025-59528-PoC
- vanhari/CVE-2025-59528
- UsifAraby/CVE-2025-59528-POC
- sonnelon/CVE-2025-59528-PoC
- Loaxert/CVE-2025-59528-PoC
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
- security-advisories@github.com (Product, x_refsource_MISC)
- security-advisories@github.com (Product, x_refsource_MISC)
- security-advisories@github.com (Product, x_refsource_MISC)
- security-advisories@github.com (Product, x_refsource_MISC)
- security-advisories@github.com (Product, x_refsource_MISC)
- security-advisories@github.com (Product, x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2025-59528?
- CVE-2025-59528 is a critical-severity vulnerability in Flowiseai Flowise, classified under Code Injection. CVSS score: 10.0/10. Published 2025-09-22.
- How severe is CVE-2025-59528?
- Critical severity. CVSS v3 base score is 10.0 out of 10.
- Is CVE-2025-59528 known to be exploited?
- 16 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.