CVE-2026-40933: Flowise Authenticated RCE via MCP Adapters

flowise Updated 16 Apr 2026

Summary

16/04/2026
Yes i
Critical
9.9

CVE-2026-40933: Flowise: Authenticated RCE Via MCP Adapters. Affects flowise versions < 3.1.0. Fixed in 3.1.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Flowise is an open-source platform designed for building and deploying machine learning models. It provides a user-friendly interface for creating workflows and integrating various components. However, it has a critical vulnerability that allows authenticated users to execute arbitrary commands on the server, potentially compromising the entire system.

Vulnerability Detail

The vulnerability arises from unsafe serialization of stdio commands in the MCP adapter. An authenticated attacker can exploit this flaw by adding an MCP stdio server with arbitrary commands, leading to remote code execution. Despite existing input sanitization checks, the system fails to adequately validate user inputs, allowing attackers to combine safe commands with harmful arguments, such as 'npx -c touch /tmp/pwn', which can execute commands on the underlying operating system.

How To Fix

Latest published version: 3.1.4 as of 22 Oct 2026

npm install flowise@3.1.4

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.1.0

This is the first release that contains the fix.

npm install flowise@3.1.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, restrict access to the MCP configuration interface to trusted users only, and monitor the commands being executed to prevent unauthorized access.

Conclusion

CVE-2026-40933 presents a significant risk to users of Flowise due to its potential for remote code execution through improper input handling. It is crucial to update to the patched versions of the affected packages and implement security best practices to safeguard against exploitation.

See every vulnerability recorded for flowise →

Share this vulnerability

FAQ

CVE-2026-40933 is a critical vulnerability in Flowise that allows authenticated users to execute arbitrary commands on the server due to unsafe input handling in the MCP adapter.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The vulnerability can lead to unauthorized command execution, allowing attackers to compromise the server, access sensitive data, or disrupt services.

The CVSS score of this vulnerability is 9.9, indicating a critical level of risk.

If immediate updates are not possible, implement strict access controls and monitor command executions as a temporary measure to mitigate risks.

Related vulnerabilities

Recent vulnerabilities recorded for flowise.

How To Fix

Latest published version: 3.1.4 as of 22 Oct 2026

npm install flowise@3.1.4

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.1.0

This is the first release that contains the fix.

npm install flowise@3.1.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback