mcp-cve-project

CVE-2025-71336 | Flowise Custom MCP unsandboxed RCE | Severity: see NVD

CVE Information

Field Value
CVE / NVD CVE-2025-71336
Date (index) 2026-06-25
Affected product (index) Flowise Custom MCP unsandboxed RCE
GHSA ID GHSA-Q2XP-J85Q-883H
OWASP MCP Top 10 (2025) MCP05 — Command Injection & Execution
Published / disclosed 2026-06-25
Ecosystem Application (vendor product)
Component Flowise before 3
EPSS score 0.007270000 (FIRST EPSS, 2026-06-30)
CVSS score CRITICAL — 9.3 CVSS v4.0
CWE CWE-78
Affected versions Flowise 0 to < 3.0.6
Fixed versions 3.0.6
Fix status Patched
Exploit status Public CVE record; do not mirror weaponized payloads
Notes Added as a separate CVE note during the 2026-07-01 recheck. Re-check NVD before using this entry for compliance reporting.

CVE Breakdown


What is the vulnerability?

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.

Attack prerequisites / exposure

Exposure depends on how the affected MCP server, client, plugin, extension, or adjacent AI workflow is deployed. Prioritize network-reachable MCP transports, desktop apps with MCP extensions enabled, CI or agent environments, and systems with access to browsers, repositories, credentials, cloud resources, databases, or local files.

CVE is because of what bug?

Primary mapped weakness: MCP05 — Command Injection & Execution. Confirm the exact CWE and affected code path in the NVD record and upstream advisory before adding exploit-specific detail.

MCP-specific impact / why it matters

MCP components bridge model output to privileged tools. Vulnerabilities in authorization, path validation, OAuth handling, command execution, SSRF validation, or tool access can turn prompt/tool input into host compromise, credential disclosure, unauthorized browser/cloud/database access, or persistent malicious tool execution.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory. Do not paste weaponized payloads.

Fix / Remediation

Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.

Upstream fix (open source)

Workarounds / mitigations

Exploit / PoC

If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification

Patch

Track NVD references for CVE-2025-71336 and apply the upstream patched release or commit recommended by the vendor/CNA.