Skip to content
CriticalVulnerabilityLLM-specific

CVE-2026-40933: Flowise command execution through Custom MCP stdio server configuration

Identifier
CVE-2026-40933
Published
Record updated
View JSON
Affected
  • flowise <= 3.0.13
  • flowise-components <= 3.0.13
Fixed in
3.1.0
  • flowise 3.1.0 released March 16, 2026, 36 days before disclosure
  • flowise-components 3.1.0 released March 16, 2026, 36 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
12.0%

Summary

Flowise versions prior to 3.1.0 contain a flaw in the MCP adapter's serialization of stdio commands. An authenticated user can add an MCP stdio server through the "Custom MCP" configuration with an arbitrary command, bypassing validateCommandInjection and validateArgsForLocalFileAccess by pairing an allowed command such as "npx" with code execution arguments like "-c touch /tmp/pwn", which achieves command execution on the underlying OS.

Mitigation

Fixed in 3.1.0.