CriticalVulnerabilityLLM-specific
CVE-2026-40933: Flowise command execution through Custom MCP stdio server configuration
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-40933
- Published
- Record updated
- 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.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- flowisenpmLLM dependency since 2024-03-12
- flowise-componentsnpmLLM dependency since 2023-04-10 · 1 tracked dependent
Topics
Related items
- HighCVE-2026-125271 - AWS API MCP Server Security Policy Bypass via Incorrect Operation Name NormalizationSimilar attack · AWS Security Bulletins
- HighGHSA-ghwv-vrp2-2975: Cocos AI Intra-handshake attested TLS implementation is vulnerable to TOCTOU AttacksSimilar attack · GitHub Advisory Database
- MediumGHSA-5m6c-38r8-5w76: Dagu MCP DAG specification read bypasses path containment and workspace isolationSimilar attack · GitHub Advisory Database
- HighCVE-2026-123818: LMDeploy is a toolkit for compressing, deploying, and serving large language models. From 0.12.3 until 0.15.0…Similar attack · NVD/CVE Database
- HighGHSA-vvr2-h2jp-838m: Code Graph RAG: MCP paginated read_file path traversal / arbitrary file readSimilar attack · GitHub Advisory Database