patchminder
Proof of concept · CISA assessment CVE-2026-40933

Code executionin FlowiseAI Flowise.

Published 21 Apr 2026 · Updated 22 Apr 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
Critical 10.0
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 12.2% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 3.1.0 or later
In plain words

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.

What to do now
  • 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.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Flowise
before 3.1.0
3.1.0
CVE record
flowise-components
before 3.1.0
3.1.0
CVE record
flowise (npm)
before 3.1.0
3.1.0
GitHub advisory
flowise-components (npm)
before 3.1.0
3.1.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 15 Apr 2026
    CVE ID reserved by GitHub_M.
  2. 21 Apr 2026
    Published in the CVE List.
  3. 22 Apr 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

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.

Related

Other Flowise vulnerabilities

Same weakness: OS command injection

All CWE-78 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-40933: Code execution in FlowiseAI Flowise. https://patchminder.com/cve/cve-2026-40933/ (accessed 5 December 2026).