All vulnerabilities

Servers and applications

GHSA-vcwp-f9rq-3887

Flowise Custom MCP npx package execution leads to authenticated server-side command execution

Severity
Critical 9.0
Published
31 Aug 2026
Last changed
31 Aug 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.1.4
Weakness
OS command injection (CWE-78)Code injection (CWE-94)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Sources
Project advisories (GitHub)

Description

Flowise is an open-source visual platform for building LLM applications, chatflows, agents, and tool integrations. Flowise includes a Custom MCP node that lets users configure Model Context Protocol servers. In Flowise 3.1.2, the Custom MCP stdio configuration allows the command npx and only blocks a limited set of dangerous flags. Because npx can install and run arbitrary npm package binaries, an authenticated attacker can execute code on the Flowise server without using shell metacharacters, node -e, or python -c.

The issue was validated against the official Docker image running Flowise 3.1.2. A safe proof of concept used npx shx touch through the Custom MCP node load method. Flowise returned a normal "No Available Actions" response because shx is not an MCP server, but the marker file was created inside the container before MCP initialization failed.

From FlowiseAI/Flowise's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
FlowiseServers and applications · github:flowiseai/flowise
  • Every version before 3.1.4

About Flowise

Build AI Agents, Visually

From its GitHub repository.
Archived
Yes, no longer maintainedGitHub
Weekly downloads (npm)
6,604npm, 15 Nov 2026
Docker Hub pulls
7,390,661Docker Hub, 15 Nov 2026
GitHub stars
55,573GitHub, 15 Nov 2026
Forks
25,094GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
29 Jul 2026GitHub
First published on GitHub
31 Mar 2023GitHub

References