#VU125540 Code Injection in Flowise - CVE-2025-59528
Published: April 9, 2026 / Updated: April 17, 2026
Flowise
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.