Code executionin FlowiseAI Flowise.
Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).
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.
- Upgrade Flowise to 3.1.0 or later.
- Upgrade flowise-components to 3.1.0 or later.
- Upgrade flowise (npm) to 3.1.0 or later.
- Upgrade flowise-components (npm) to 3.1.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 15 Apr 2026CVE ID reserved by GitHub_M.
- 21 Apr 2026Published in the CVE List.
- 22 Apr 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Flowise vulnerabilities
Same weakness: OS command injection
- github.com x_refsource_CONFIRM
- www.ox.security x_refsource_MISC
- www.ox.security x_refsource_MISC
Patchminder. CVE-2026-40933: Code execution in FlowiseAI Flowise. https://patchminder.com/cve/cve-2026-40933/ (accessed 5 December 2026).