Flowise: Authenticated RCE Via MCP Adapters
Published Apr 21, 2026
10.0
CRITICALCVSS 3.1
EPSS 1.28%
Description
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.0, due to unsafe serialization of stdio commands in the MCP adapter, an authenticated attacker can add an MCP stdio server with an arbitrary command, achieving command execution. The vulnerability lies in a bug in the input sanitization from the “Custom MCP” configuration in http://localhost:3000/canvas - where any user can add a new MCP, when doing so - adding a new MCP using stdio, the user can add any command, even though your code have input sanitization checks such as validateCommandInjection and validateArgsForLocalFileAccess, and a list of predefined specific safe commands - these commands, for example "npx" can be combined with code execution arguments ("-c touch /tmp/pwn") that enable direct code execution on the underlying OS. This vulnerability is fixed in 3.1.0.
Affected products
-
- Version < 3.1.0StatusaffectedConstraints-
- Version
-
- Version < 3.1.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| FlowiseAI | Flowise | n/a |
| ||||||
| FlowiseAI | Flowise-Components | n/a |
|
No data.
No Red Hat product state for this CVE.
flowise
npm
Introduced 0 Fixed 3.1.0flowise-components
npm
Introduced 0 Fixed 3.1.0
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | flowise | 0 | 3.1.0 |
| npm | flowise-components | 0 | 3.1.0 |
Remediation
No remediation recorded yet.
References (4)
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-c9gw-hvqq-f33r exploitx_refsource_CONFIRMVendor Advisory
- https://github.com/advisories/GHSA-c9gw-hvqq-f33r Advisory
- https://www.ox.security/blog/mcp-supply-chain-advisory-rce-vulnerabilities-across-the-ai-ecosystem x_refsource_MISCPress/Media CoverageThird Party Advisory
- https://www.ox.security/blog/the-mother-of-all-ai-supply-chains-critical-systemic-vulnerability-at-the-core-of-the-mcp x_refsource_MISCPress/Media CoverageThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-c9gw-hvqq-f33r | exploitx_refsource_CONFIRMVendor Advisory | |
| https://github.com/advisories/GHSA-c9gw-hvqq-f33r | Advisory | |
| https://www.ox.security/blog/mcp-supply-chain-advisory-rce-vulnerabilities-across-the-ai-ecosystem | x_refsource_MISCPress/Media CoverageThird Party Advisory | |
| https://www.ox.security/blog/the-mother-of-all-ai-supply-chains-critical-systemic-vulnerability-at-the-core-of-the-mcp | x_refsource_MISCPress/Media CoverageThird Party Advisory |
Change history (0)
No recorded changes yet.