Flowise can run system commands without a password via parameter override
What this means
An attacker can run any command on the server running Flowise, including reading files, stealing data, or taking over the system. This requires only an HTTP request and no login. If Flowise runs with root access, the attacker gains root access.
SecurityElites Manager Brief: the decision in one minute
Flowise versions before 3.1.0 allow anyone to run system commands on your server without a password. Upgrade immediately to 3.1.0 or later. Check your logs for attacks from the past month.
| SecurityElites Fix-First Score | 43 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 30 days High severity. This is our suggestion from common practice; your own policy comes first. |
| Who should own the fix | Platform or DevOps team managing Flowise deployments. |
| Likely effort | About 15 minutes per instance: upgrade npm packages and restart Flowise. Checking logs for attacks may take longer if instances have been running for weeks. |
Questions to ask your team or supplier
- Do we have Flowise instances exposed to the internet, and have we checked logs from the past month for the attack patterns in the detect section?
- Which of our Flowise instances have API parameter overrides enabled, and can we disable that feature if it is not essential?
Message you can forward to the owning team
Security notice: Flowise can run system commands without a password via parameter override (CVE-2026-41268)
Severity: High
SecurityElites Fix-First Score: 43 of 100
SecurityElites fix window: Within 30 days
Action: upgrade to flowise 3.1.0, flowise-components 3.1.0 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-2026-41268-flowise-can-run-system-commands-without-a-password-via/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01641What is at stake in your AI setup
- Keys for AI providers (such as OpenAI, Anthropic, or others) stored in Flowise configuration or environment—an attacker can steal these and abuse your account
- Prompts, chat history, and flow definitions stored in Flowise database—an attacker can read sensitive instructions or customer conversations
- Tools and systems the Custom MCP node is connected to—an attacker can run commands through those integrations
- Compute bill—an attacker can run expensive AI inference or long-running commands and charge your account
Who is exposed
- Flowise running version 3.0.x or earlier with API overrides enabled
- Flowise instances accessible from the internet or untrusted networks
- Flowise running in containers with root privileges
- Teams using Custom MCP nodes with Flowise
Upgrades you need
| Software | Affected versions | Move to |
|---|---|---|
| flowise npm | Every version before 3.1.0 | 3.1.0 or later |
| flowise-components npm | Every version before 3.1.0 | 3.1.0 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 | Hard. It depends on conditions the attacker does not control |
| Risk of: data being read | High |
| Risk of: data or settings being changed | High |
| Risk of: the service being taken down | Limited |
| Can attackers automate it at scale | No, according to CISA. Each target needs manual work |
| How much control an attacker gains | Total control of the affected software, according to CISA |
Read from the official severity rating: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
Kind of coding mistake
- CWE-20: input is not checked properly
If you cannot upgrade today
- Disable API parameter overrides if the feature is not required. Check Flowise configuration and turn off any override or configuration-from-request features.
- Block HTTP access to Flowise API endpoints from untrusted networks using a firewall or network policy. Only allow requests from authorized internal systems.
- Run Flowise in a container with a non-root user and restrict file system access. Use security policies like SELinux or AppArmor to limit what the Flowise process can do.
Signs it may already have been used against you
- HTTP requests to Flowise API endpoints that include the string `FILE-STORAGE::` in URL parameters or request body
- Requests with `mcpServerConfig` or `NODE_OPTIONS` in the payload, especially with `--experimental-loader` or `--require`
- Unusual child processes spawned by the Flowise process, especially shell commands or scripting interpreters
- Unexpected files created or modified in the Flowise working directory, containers, or system directories
SecurityElites Fix Guide: step by step
- Find where Flowise is installedList all servers and containers running Flowise. Check the npm packages installed: run `npm list flowise` and `npm list flowise-components` in each Flowise project folder. Write down the current version for each.
- Check if API overrides are enabledLook at the Flowise configuration. Search for settings or environment variables that enable API parameter overrides. If you find settings like `OVERRIDE_CONFIG` or similar override features, note which instances have them enabled.
- Review recent logs for attacksExport logs from each Flowise instance for the last 30 days. Look for unusual HTTP requests to the API, especially those with `FILE-STORAGE::` in the URL or request body, or requests that mention `NODE_OPTIONS` or `mcpServerConfig`. Save any suspicious requests for review.
- Back up current configurationExport or save the current Flowise configuration, database, and any custom nodes or settings. Take a snapshot of running containers before making changes.
- Upgrade to fixed versionUpgrade `flowise` npm package to version 3.1.0 or later. Upgrade `flowise-components` npm package to version 3.1.0 or later. Run `npm install flowise@3.1.0` and `npm install flowise-components@3.1.0` in each Flowise project.
- Restart FlowiseStop and start each Flowise instance or container. Wait for it to fully start and confirm it is responding to requests.
- Confirm the fixRun `npm list flowise` and `npm list flowise-components` and verify both show version 3.1.0 or later. Test that Flowise still works by creating or running a simple flow.
- If attacks are found, investigate and respondIf logs show suspicious requests, escalate to security and incident response teams. Check what commands may have been run, what data was accessed, and whether the attacker left any backdoors or persistent access.
How to confirm it is fixed: Confirm that both `npm list flowise` and `npm list flowise-components` show version 3.1.0 or later, and that Flowise starts successfully and responds to requests.
SecurityElites Quick Fixes: copy and paste
Upgrade flowise with npmupgrade
npm install flowise@3.1.0
npm ls flowiseUpgrade flowise-components with npmupgrade
npm install flowise-components@3.1.0
npm ls flowise-componentsCheck installed Flowise versionsfor this issue
npm list flowise flowise-componentsRun 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-2026-41268) 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.1.0 or later
- flowise-components (npm): must be 3.1.0 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 a password via parameter override (CVE-2026-41268)
**Severity:** High | **SE Fix-First Score:** 43/100 | **Fix window:** Within 30 days
**Record:** SE-AIV-01641 https://securityelites.com/ai-vulnerabilities/cve-2026-41268-flowise-can-run-system-commands-without-a-password-via/
### Why this matters
An attacker can run any command on the server running Flowise, including reading files, stealing data, or taking over the system. This requires only an HTTP request and no login. If Flowise runs with root access, the attacker gains root access.
### What to do
1. Find where Flowise is installed
2. Check if API overrides are enabled
3. Review recent logs for attacks
4. Back up current configuration
5. Upgrade to fixed version
6. Restart Flowise
7. Confirm the fix
8. If attacks are found, investigate and respond
Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-41268-flowise-can-run-system-commands-without-a-password-via/
### Done when
- [ ] flowise is at 3.1.0 or later everywhere it is installed
- [ ] flowise-components is at 3.1.0 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Confirm that both `npm list flowise` and `npm list flowise-components` show version 3.1.0 or later, and that Flowise starts successfully and responds to requests.
- [ ] 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
- 16 Apr 2026: Made public
- 3 Dec 2026: Published
Official record
### SummaryFlowise is vulnerable to a critical unauthenticated remote command execution (RCE) vulnerability. It can be exploited via a parameter override bypass using the `FILE-STORAGE::` keyword combined with a `NODE_OPTIONS` environment variable injection. This allows for the execution of arbitrary system commands with root privileges within the containerized Flowise instance, requiring only a single HTTP request and no authentication or knowledge of the instance.### DetailsThe vulnerability is in a validation check within the `replaceInputsWithConfig` function within `packages/server/src/utils/index.ts`. The check for `FILE-STORAGE::` was intended to handle file-type inputs but has three issues:1. Uses .includes() instead of .startsWith(): The check passes if FILE-STORAGE:: appears ANYWHERE in the string, not just at the beginning. A remote user can embed it in a comment: /* FILE-STORAGE:: */ { custom config }2. No parameter type validation: The check doesn't verify that the parameter is actually a file-type input. It applies to ANY parameter name, including mcpServerConfig.3. Complete bypass, not partial: When the check passes, it skips the isParameterEnabled() call entirely, allowing modification of parameters that administrators never authorized.**Vulnerable Code (`FILE-STORAGE::` bypass):** ```typescript // packages/server/src/utils/index.ts, line 1192-1198 // Skip if it is an override "files" input, such as pdfFile, txtFile, etc if (typeof overrideConfig[config] === 'string' && overrideConfig[config].includes('FILE-STORAGE::')) { // pass <-- BYPASSES ALL VALIDATION } else if (!isParameterEnabled(flowNodeData.label, config)) { // Only proceed if the parameter is enabled continue } ```This bypass allows an attacker to override the `mcpServerConfig` and inject a malicious `NODE_OPTIONS` value. The `Custom MCP` node's environment variable blocklist does not include `NODE_OPTIONS`, enabling an attacker to use the `--experimental-loader` to execute arbitrary JavaScript code before the main process starts.**Vulnerable Code (`NODE_OPTIONS` not blocked):** ```typescript // packages/components/nodes/tools/MCP/core.ts, line 248-254 const dangerousEnvVars = ['PATH', 'LD_LIBRARY_PATH', 'DYLD_LIBRARY_PATH']for (const [key, value] of Object.entries(env)) { if (dangerousEnvVars.includes(key)) { throw new Error(`Environment variable '${key}' modification is not allowed`) } } ```### Requirements**API Override Enabled** The chatflow must have "API Override" toggled ON in Chatflow Configuration. **Public Chatflow** The chatflow must be shared publicly. **MCP Node** The chatflow must contain a MCP tool node (Custom MCP tool was tested and confirmed).Although not enabled by default, the API Override feature is a powerful and officially documented capability that may be used in production deployments. Its primary purpose is to make chatflows dynamic and user-aware.Common use cases that necessitate enabling this feature include:* **Session Management:** Passing a unique `sessionId` or `chatId` for each user to maintain separate conversation histories. * **User-Specific Variables:** Injecting user data such as name, preferences, or role into prompts to create personalized experiences. * **Dynamic Tool Selection:** Allowing users to specify which data sources or APIs to query based on their needs. * **Multi-Tenant Applications:** Supporting different configurations for each customer or organization without deploying separate chatflows. * **A/B Testing:** Evaluating different prompts or models in a live environment.### SetupTo reproduce the vulnerability, follow these steps:**Step 1: Start Flowise Instance**```bash docker run -d --name flowise-test -p 3000:3000 flowiseai/flowise:latest ```**Step 2: Configure a Public Chatflow with MCP Tool**1. Navigate to `http://localhost:3000` and create an account. 2. Create a new chatflow. 3. Add a `Custom MCP` node and a `Cu
Weakness type: CWE-20
Use this record in your own tools
Get this record as JSON
curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-41268For 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 3 Dec 2026. Read the vendor advisory before changing a production system.