Skip to content
HighVulnerability

GHSA-m99r-2hxc-cp3q: Flowise has an MCP Security Bypass that Enables RCE

Published
Record updated
View JSON
Affected
  • flowise-components <= 3.1.1
  • flowise <= 3.1.1
Fixed in
3.1.2
  • flowise-components 3.1.2 released April 14, 2026, 30 days before disclosure
  • flowise 3.1.2 released April 14, 2026, 30 days before disclosure

Summary

Flowise's MCP feature contains a security bypass chain that lets an attacker run arbitrary commands on the host. The validateCommandFlags blocklist in packages/components/nodes/tools/MCP/core.ts omits docker build, so a Custom MCP Server configured as docker build <remote-URL> pulls and runs a remote Dockerfile. A second bypass uses the long alias --yes, which is not blocked for npx, letting npx install and execute an attacker-supplied npm package. The attacker needs a Flowise account of any role or an API key with view and update permissions for chatflows, and the server must have the docker or npx command available.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.