SecurityContext

CVE-2025-59528: Flowise - Remote Code Execution

  • Cve: CVE-2025-59528
  • Name: Flowise - Remote Code Execution
  • Description: 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.
  • Impact: Attackers can execute arbitrary code with full Node.js privileges, potentially leading to full system compromise.
  • Remediation: Update to version 3.0.6 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 10
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.91767
  • Epss percentile: 0.9982
  • Assignee: [email protected]
  • Published at: 2025-09-22T20:15:39Z
  • Age in days: 428
  • Modified at: 2026-10-18T21:10:00Z
  • Public exploits total: 33
  • References total: 12
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-59528
  • Nvd status: analyzed
  • Checked, none or zero: patch available, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2026-04-05—no

Nuclei templates

IdUrl
CVE-2025-59528https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-59528.yaml

Public exploits

UrlSourceAdded date
https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-3gcm-f6qx-ff7pnvd2025-09-22
https://github.com/Amoru-Bek/CVE-2025-59528-Pocpoc-in-github2026-09-30
https://github.com/Amoru-Bek/CVE-2025-59528-Poc.gitvulncheck-xdb2026-09-30
https://github.com/hackpatato/PoC-and-yara-rules-of-CVE-2025-59528-Flowise-has-Remote-Code-Execution-vulnerabilitypoc-in-github2026-08-28
https://github.com/sonnelon/CVE-2025-59528-PoCpoc-in-github2026-08-10

References

UrlSourceTags
https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-3gcm-f6qx-ff7pnvdExploit, Vendor Advisory
https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L132nvdProduct
https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L220nvdProduct
https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts#L262-L270nvdProduct
https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/controllers/nodes/index.ts#L57-L78nvdProduct
https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/routes/node-load-methods/index.ts#L5nvdProduct
https://github.com/FlowiseAI/Flowise/blob/5930f1119c655bcf8d2200ae827a1f5b9fec81d0/packages/server/src/services/nodes/index.ts#L91-L94nvdProduct
https://github.com/FlowiseAI/Flowise/releases/tag/flowise%403.0.6nvdRelease Notes
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-59528.yamlnuclei_templateNuclei Template
https://expel.com/blog/the-ai-cve-exploitation-evidence-story-headlines-are-scarier-than-reality/vulncheckVulncheck Reported Exploitation

Products

ProductAffectedPlatform boundSourcesUrl
flowiseai:flowise= 3.0.5nonvd/v1/products/flowiseai/flowise

Projects

RepositoryLink kindsIndexedUrl
FlowiseAI/Flowisepackage, releases, security_advisoryyes/v1/repositories/FlowiseAI/Flowise

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Known exploited by: vulncheck
  • Vulncheck known exploited since: 2026-04-05
  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 33
  • Public exploit first date: 2025-09-13
  • Remote: yes
  • Exposed hosts: 4458
  • Checked, none or zero: known exploited, initial access, authentication required
  • Not known: known exploited since, initial access since, hackerone reports

Nuclei template