CVE-2026-40933 | Flowise (MCP adapter command injection via unsafe stdio serialization) | Critical | 9.9
| Field |
Value |
| CVE / NVD |
CVE-2026-40933 |
| Date (index) |
2026-04-23 |
| Affected product (index) |
Flowise (MCP adapter command injection via unsafe stdio serialization) |
| GHSA ID |
GHSA-c9gw-hvqq-f33r |
| OWASP MCP Top 10 (2025) |
MCP05 — Command Injection & Execution |
| Published / disclosed |
2026-04-16 |
| Ecosystem |
Application (vendor product) |
| Component |
Flowise (MCP adapter command injection via unsafe stdio serialization) |
| EPSS score |
0.019870000 (FIRST EPSS, 2026-06-30) |
| CVSS score |
9.9 CRITICAL CVSS v3.1 (NVD) |
| CWE |
CWE-78 |
| Affected versions |
< 3.1.0 |
| Fixed versions |
3.1.0 |
| Fix status |
Patched |
| Exploit status |
Public exploit and advisory |
CVE Breakdown
What is the vulnerability?
Flowise: Authenticated RCE Via MCP Adapters
Attack prerequisites / exposure
The attacker needs control over tool arguments, command parameters, or MCP configuration that is forwarded into a process execution path. Exposure is worst when the service accepts remote requests or untrusted project/config input.
CVE is because of what bug?
Unsafe serialization of stdio MCP commands
MCP-specific impact / why it matters
Authenticated users can define arbitrary stdio commands through MCP adapters. Because the affected product orchestrates MCP on behalf of users, exploitation can become platform-level code execution or unauthorized downstream tool use.
Where was the bug? (source + snippet)
- Source repository: https://github.com/FlowiseAI/Flowise
Add a minimal vulnerable code snippet here after reviewing the linked source locations.
The remediation tightens input handling so untrusted values cannot change the executed command or code path, typically by validating arguments and removing unsafe shell-style evaluation.
Upstream fix (open source)
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-c9gw-hvqq-f33r
Workarounds / mitigations
- Upgrade to
3.1.0 or later as the primary remediation.
- Disable or isolate the affected tool/integration if untrusted users or content can influence command parameters.
- Treat MCP configuration and stdio server definitions as code execution surfaces and require review before loading them.
Exploit / PoC
Public PoC or exploit discussion is reported in the current source set. Add a direct lab-safe reference here rather than copying payloads into the page.
Detection / verification
- Inventory deployments still matching the affected version range:
< 3.1.0.
- Review process execution logs for unexpected flags, shell metacharacters, or spawned commands that include user-controlled values.
- Check whether exposed APIs or stored MCP configs allow untrusted users to define stdio commands or tool parameters.
Patch
https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-c9gw-hvqq-f33r
Reference links
- GitHub security advisory: https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-c9gw-hvqq-f33r
- Research (OX Security): https://www.ox.security/blog/flowise-cve-2026-40933-upsonic-cve-2026-30625-what-to-do-when-best-practice-isnt-enough/
- Research (broader): https://www.ox.security/blog/mcp-supply-chain-advisory-rce-vulnerabilities-across-the-ai-ecosystem/
- GitHub Advisory search: https://github.com/advisories?query=CVE-2026-40933
- OSV search: https://osv.dev/list?q=CVE-2026-40933
- Tenable: https://www.tenable.com/cve/CVE-2026-40933
- Snyk search: https://security.snyk.io/search?type=vuln&q=CVE-2026-40933
- GitLab advisory search: https://advisories.gitlab.com/search/?q=CVE-2026-40933