Skip to content

CVE-2025-71336 Flowise - Unsandboxed Remote Code Execution via Custom MCP

CriticalCVSS 9.3 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

Description

Flowise before 3.0.6 (affected versions 2.2.7-patch.1 and earlier) contains an unsandboxed remote code execution vulnerability in the Custom MCP feature, which is designed to execute OS commands such as launching local MCP servers. Because Flowise's authentication and authorization model is minimal and lacks role-based access control, and the default installation runs without authentication unless FLOWISE_USERNAME and FLOWISE_PASSWORD are set, an attacker can send a crafted JSON payload with the header 'x-request-from: internal' to the /api/v1/node-load-method/customMCP endpoint to execute arbitrary OS commands, resulting in complete compromise of the platform container or server.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
FlowiseAI Flowise < 3.0.6 3.0.6 Fixed
npm flowise < 3.0.6 3.0.6 Fixed
npm flowise(npm) >= 2.2.7-patch.1, < 3.0.6 3.0.6 Fixed

Affected products

ProductAffected versionsFixed in
npm flowise < 3.0.6 3.0.6
npm flowise(npm) >= 2.2.7-patch.1, < 3.0.6 3.0.6
FlowiseAI Flowise < 3.0.6 3.0.6

References