#VU125540 Code Injection in Flowise - CVE-2025-59528

 

#VU125540 Code Injection in Flowise - CVE-2025-59528

Published: April 9, 2026 / Updated: April 17, 2026


Vulnerability identifier: #VU125540
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Amber
CVE-ID: CVE-2025-59528
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vulnerable software:
Flowise
Software vendor:
FlowiseAI

Description

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to improper control of code generation in the CustomMCP node when processing a user-supplied mcpServerConfig value through the /api/v1/node-load-method/customMCP endpoint. A remote attacker can send a specially crafted request to execute arbitrary code.

The input is evaluated through the Function() constructor in the Node.js runtime context, which can expose modules such as child_process and fs.


Remediation

Install security update from vendor's website.

External links