cve.bz

CVE-2025-59528 flowiseai flowise: Code Injection

10.0 criticalExploitEPSS 92%Fix available

Critical (10.0) in flowiseai flowise. EPSS 92% estimated probability of exploitation activity in the next 30 days. Fixed in flowise 3.0.6.

On this page
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.

Severity

CVSS 3.1

10.0 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
92% (unchanged from 87% a week ago; 86% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2025-09-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-59528 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-59528?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-59528?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-59528 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
flowiseai:flowise3.0.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3gcm-f6qx-ff7pnpmflowise>=3.0.5 <3.0.63.0.6

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

9 more
  • maradonam18/-CVE-2025-59528-PoC Harbor Check: matches CVE 1 star, Python, created
    A simple python script to exploit CVE-2025-59528, this an Authenticated RCE vulnerability in Flowise application, a popular AI tool. That i…
  • vanhari/CVE-2025-59528 Harbor Check: matches CVE 1 star, Python, created
    CVE-2025-59528 Proof of Concept
  • UsifAraby/CVE-2025-59528-POC Harbor Check: matches CVE 1 star, Python, created
    CVE-2025-59528 - FlowiseAI CustomMCP Remote Code Execution
  • Amoru-Bek/CVE-2025-59528-Poc Harbor Check: matches CVE 0 stars, Python, created
  • sonnelon/CVE-2025-59528-PoC Harbor Check: matches CVE 0 stars, Python, created
    The poc of CVE-2025-59528
  • Loaxert/CVE-2025-59528-PoC Harbor Check: matches CVE 0 stars, Python, created
    PoC for CVE-2025-59528 used to achieve remote code execution on the Silentium machine at HTB
  • Moon-Harvest/CVE-2025-59528 Harbor Check: matches CVE 0 stars, Go, created
    Go Proof of Concept (PoC) exploit for Flowise CustomMCP Remote Code Execution (RCE) CVE-2025-59528
  • honney336/CVE-2025-58434_CVE-2025-59528 Harbor Check: matches CVE 0 stars, Python, created
    CVE-2025-58434 Flowise <= 3.0.5 and earlier allows account takeover via unauthenticated forgot-password token. CVE-2025-59528 lowiseAI Cus…
  • zimshk/CVE-2025-59528.yaml Harbor Check: matches CVE 0 stars, created

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON