Flowise allows unauthenticated attackers to run operating system commands

CriticalSE Fix-First Score 51/100CVE-2025-8943SE-AIV-01588Remote code executionAI apps and chat interfacesMade public 14 Aug 2025

Download as PDF

What this means

An attacker on the network can run any command on the server where Flowise is installed, with the same permissions as the Flowise process. They could read files, install malware, delete data, or take full control of the server.

SecurityElites Manager Brief: the decision in one minute

Flowise before version 3.0.1 runs without login protection by default and lets anyone trigger OS commands through its Custom MCPs feature. This is a complete takeover risk for any exposed instance. Upgrade to 3.0.1 immediately and enable authentication.

SecurityElites Fix-First Score51 of 100
Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity.
SecurityElites fix windowWithin 7 days
Critical severity. This is our suggestion from common practice; your own policy comes first.
Who should own the fixPlatform engineering or DevOps team, with security review before production restart.
Likely effortAbout 15 minutes per instance: upgrade the npm package, restart the service, and verify the version. Longer if you have many instances or need to test in a staging environment first.

Questions to ask your team or supplier

  • Is Flowise exposed to the network or the Internet, and if so, has authentication always been enabled in this deployment?
  • Do any of your Flowise instances use Custom MCPs to connect to production systems, databases, or other sensitive infrastructure?
  • What other services or cloud accounts could an attacker compromise if they gain OS command execution on the server where Flowise runs?

Message you can forward to the owning team

Security notice: Flowise allows unauthenticated attackers to run operating system commands (CVE-2025-8943)

Severity: Critical
SecurityElites Fix-First Score: 51 of 100
SecurityElites fix window: Within 7 days
Action: no fixed version is listed yet; apply the risk-reduction steps and watch the vendor advisory.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2025-8943-flowise-allows-unauthenticated-attackers-to-run-operating-system-commands/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01588

What is at stake in your AI setup

  • Prompts and chat history: attackers could read, modify, or delete conversation logs and system prompts, potentially exposing sensitive business logic or customer data.
  • Tools and systems connected to agents: attackers could execute commands through any external tools, APIs, or databases that the Flowise instance is configured to access.
  • Model files and weights: attackers could download, modify, or delete any local model files or fine-tuned weights stored in the Flowise data directory.
  • Keys for AI providers: attackers could steal API keys stored in Flowise configuration for OpenAI, Anthropic, or other AI services, running up bills or accessing other accounts.

Map where your company uses AI

Who is exposed

  • Flowise instances running any version before 3.0.1 that are accessible from the network
  • Teams using Flowise without authentication enabled in the configuration
  • Development and testing environments where Flowise was deployed without security hardening

Upgrades you need

SoftwareAffected versionsMove to
flowise
npm
Every version up to and including 3.0.5No fixed version recorded. Follow the steps below.

Am I affected?

Enter the version you run. Nothing you type is stored.

SecurityElites Developer Brief: the technical picture

Is it being attackedWorking attack code is public, so expect attacks to follow
Where the attacker must beAnywhere that can reach it over a network, including the internet if it is exposed
Account neededNone. No login is needed
Does a person have to do somethingNo. It works without anyone clicking or opening anything
How hard it is to doEasy. It works reliably once the attacker can reach it
Risk of: data being readHigh
Risk of: data or settings being changedHigh
Risk of: the service being taken downHigh
Can attackers automate it at scaleYes, according to CISA
How much control an attacker gainsTotal control of the affected software, according to CISA

Read from the official severity rating: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Kind of coding mistake

  • CWE-306: an important function needs no login
  • CWE-78: operating system commands can be injected

If you cannot upgrade today

  • Until you can upgrade, restrict network access to Flowise by putting it behind a firewall or reverse proxy that requires authentication before traffic reaches Flowise.
  • Disable or remove the Custom MCPs feature from Flowise configuration if it is not in active use.
  • Run Flowise as a non-root, non-privileged OS user so that even if commands are executed, the damage is limited to that user's permissions.

Signs it may already have been used against you

  • Review web server or proxy access logs for POST or GET requests to the Flowise API endpoints (typically `/api/` paths) that do not include authentication headers, made from unexpected IP addresses or times.
  • Check OS command execution logs (auditd on Linux, or Windows Event Log) for unexpected child processes spawned by the Flowise process (Node.js), especially commands using `npx`, `npm`, `bash`, or `sh`.
  • Search Flowise application logs for Custom MCPs creation or execution events, particularly those logged at times when no administrator was known to be working.
  • Look for new or modified files in the Flowise data directory (`.flowise` or database folder) that indicate new MCPs were added without authorization.

Log searches to start from

Unauthenticated requests to Flowise API endpoints (adapt field names to your logs)Splunk

sourcetype=http_access path="/api/*" NOT auth_header=* | stats count by src_ip, path, method

Child processes spawned by Flowise Node.js process (adapt field names to your logs)Elastic

process.parent.name:node AND process.parent.args:flowise AND process.name:(bash OR sh OR npx OR npm) | stats count by process.name, process.args

Written with AI as a starting point. Review them and change the index and field names to match your own logs before you rely on the result.

SecurityElites Fix Guide: step by step

  1. Find all Flowise installationsSearch your infrastructure for running Flowise services. Check npm global packages with `npm list -g flowise` on each server, and check application deployment logs or container registries for Flowise images and their versions.
  2. Check the current version of each installationOn each server or container where Flowise runs, execute `npx flowise --version` or check the package.json file in the Flowise application directory. Record the version number for each instance.
  3. Identify instances older than 3.0.1Compare each recorded version to 3.0.1. Any version number that sorts earlier (for example, 2.x, 3.0.0) is affected. If you are unsure, treat it as affected until confirmed.
  4. Back up Flowise configuration and dataExport or snapshot the Flowise application directory, including the .flowise folder or database directory and any custom MCPs configuration. This protects your workflows and settings during the upgrade.
  5. Upgrade Flowise to version 3.0.1 or laterOn each affected instance, run `npm install -g flowise@3.0.1` or update the version in package.json and run `npm install`. After the upgrade completes, restart the Flowise process.
  6. Enable authentication in FlowiseOpen the Flowise configuration file or environment variables and set authentication to on (for example, by configuring a default user, API key, or OAuth provider). Do not leave authentication disabled after the upgrade.
  7. Verify the upgraded version is runningExecute `npx flowise --version` again on each server and confirm it reports 3.0.1 or later. Confirm that the Flowise web interface now requires login before allowing access.
  8. Check for signs of prior exploitationReview Flowise logs and system logs for unusual process execution, file access, or network connections before the upgrade date. Check for unexpected cron jobs, new user accounts, or modified files in the Flowise directory.

How to confirm it is fixed: Confirm the installed Flowise version is 3.0.1 or later by running `npx flowise --version`, and verify that accessing the Flowise web interface requires a login prompt before showing any application features.

SecurityElites Quick Fixes: copy and paste

Check installed Flowise version globallyfor this issue

npm list -g flowise

Check Flowise version from the application directoryfor this issue

cd /path/to/flowise && npm list flowise

Run the service in a locked-down containergeneral hardening

docker run --read-only --cap-drop ALL \
  --security-opt no-new-privileges --user 1000:1000 \
  -p 127.0.0.1:8080:8080 YOUR_IMAGE

Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.

SecurityElites Incident Drill: could your team handle this?

Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.

What versions of Flowise are affected by this vulnerability?A good answer: Every version of Flowise before 3.0.1 is affected; version 3.0.1 and later include the fix.
What does an unauthenticated attacker need to do to run OS commands?A good answer: They need network access to the Flowise instance and can trigger OS command execution through the Custom MCPs feature if authentication is not enabled.
Why is this vulnerability critical even if Flowise is on an internal network?A good answer: An insider, compromised account, or attacker who reaches the internal network can take over the entire Flowise server and use it to attack other systems.
What is the first step after upgrading Flowise to 3.0.1?A good answer: Enable authentication in the Flowise configuration to prevent unauthenticated access.

Run a full timed drill with your team

Ticket for your backlog

Paste into Jira, GitHub Issues or any tracker that reads Markdown.

Ready-made ticket

## Flowise allows unauthenticated attackers to run operating system commands (CVE-2025-8943)

**Severity:** Critical  |  **SE Fix-First Score:** 51/100  |  **Fix window:** Within 7 days
**Record:** SE-AIV-01588 https://securityelites.com/ai-vulnerabilities/cve-2025-8943-flowise-allows-unauthenticated-attackers-to-run-operating-system-commands/

### Why this matters
An attacker on the network can run any command on the server where Flowise is installed, with the same permissions as the Flowise process. They could read files, install malware, delete data, or take full control of the server.

### What to do
1. Find all Flowise installations
2. Check the current version of each installation
3. Identify instances older than 3.0.1
4. Back up Flowise configuration and data
5. Upgrade Flowise to version 3.0.1 or later
6. Enable authentication in Flowise
7. Verify the upgraded version is running
8. Check for signs of prior exploitation

Full steps: https://securityelites.com/ai-vulnerabilities/cve-2025-8943-flowise-allows-unauthenticated-attackers-to-run-operating-system-commands/

### Done when
- [ ] The risk-reduction steps are applied and the vendor advisory is being watched for a fixed version
- [ ] Lock files, container images and CI configuration are updated
- [ ] Confirm the installed Flowise version is 3.0.1 or later by running `npx flowise --version`, and verify that accessing the Flowise web interface requires a login prompt before showing any application features.
- [ ] Logs were checked for signs of earlier use

SecurityElites Fix Tracker

Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.

Sign in to track this fix

Change history

  • 14 Aug 2025: Made public
  • 2 Dec 2026: Fixed version added, from the vendor's own CVE record
  • 2 Dec 2026: Published
  • 2 Dec 2026: Fixed version added, from the GitHub security advisory

Official record

The Custom MCPs feature is designed to execute OS commands, for instance, using tools like `npx` to spin up local MCP Servers. However, Flowise's inherent authentication and authorization model is minimal and lacks role-based access controls (RBAC). Furthermore, in Flowise versions before 3.0.1 the default installation operates without authentication unless explicitly configured. This combination allows unauthenticated network attackers to execute unsandboxed OS commands.

Weakness type: CWE-306, CWE-78

Use this record in your own tools

Get this record as JSON

curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2025-8943

For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker

The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 2 Dec 2026. Read the vendor advisory before changing a production system.