CVE-2024-58351: Flowise OverrideConfig security vulnerability
Flowise before 2.1.4 lets callers override flow configuration at run time through the overrideConfig option, with no allow-list of settings. That can lead to code execution past the vm2 sandbox, server crashes, SSRF and full control of LLM prompts. Upgrade to flowise 2.1.4. The effects stay with the calling session and do not persist to other users.
Published Nov 21, 2024 · Updated Sep 14, 2026 · Analysis Nov 1, 2026
What an attacker can do
Flowise lets developers inject configuration into a Chainflow while it runs, using the overrideConfig option. Both the web embed and the backend Prediction API support it. The feature is on by default and has no allow-list of variables that may be changed, so a caller can change nearly anything in the flow.
The advisory lists what that allows. Remote code execution is possible, and the sandbox is vm2, whose author has said fixing it seems impossible, so escape is a concern. A caller can also crash the server, make it send requests to internal addresses (SSRF), take over the system and user prompts, read server variables and data, and proxy prompts out through the LLM.
The advisory says these effects are self-targeted and do not persist to other users. They still leave the server and the business exposed. The Flowise CVSS 4.0 vector requires high privileges. VulnCheck scores the same flaw as critical (9.3) with no privileges needed, so check whether your Prediction API or embedded chatbot is reachable without authentication.
Who is affected
flowise on npm, all versions below 2.1.4. Any deployment with a reachable Prediction API or an embedded chatflow is in scope, since overrideConfig is enabled by default. Check the installed version:
npm ls flowiseFor a Docker install, check the image tag.
flowise
- Ecosystem
- npm
- Affected
- < 2.1.4
- Fixed in
- 2.1.4
- Check
npm ls flowise
How to fix it
Upgrade to flowise 2.1.4:
npm install -g [email protected]The advisory's own recommendations, which go beyond the patch: disable overrideConfig by default, give it an explicit allow-list of variables that may be modified, and remove vm2 and its forks in favour of isolated-vm. Until you can upgrade, do not expose the Prediction API or web embed to untrusted callers.
How to tell if you were hit
Review Prediction API request logs for POST bodies that contain an overrideConfig object, particularly ones that set prompt text, variables or node parameters. Look for server crashes or restarts after such requests, and for outbound connections from the Flowise host to internal addresses. If an AI agent can call Flowise endpoints, Beam records the agent's shell commands and MCP tool calls, which helps trace such calls.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Impact
Flowise allows developers to inject configuration into the Chainflow during execution through the overrideConfig option. This is supported in both the frontend web integration and the backend Prediction API.
This has a range of fundamental issues that are a major security vulnerability. While this feature is intentional, it should have strong protections added and be disabled by default.
These issues include:
- Remote code execution. While inside a sandbox this allows for
- Sandbox escape
- DoS by crashing the server
- SSRF
- Prompt Injection, both System and User
- Full control over LLM prompts
- Server variable and data exfiltration
And many many more such as altering the flow of a conversation, prompt exfiltration via LLM proxying etc.
These issues are self-targeted and do not persist to other users but do leave the server and business exposed. All issues are shown with the API but also work with the web embed.
Workarounds
overrideConfigshould be disabled by defaultoverrideConfigshould have an explicit allow list of variables that are allowed to be modified. This way the user opts-in to where modifications can be made.vm2and any forks of it should be removed as in the authors own words, "fixing the vulnerability seems impossible". The recommended replacement is https://www.npmjs.com/package/isolated-vm
Credited to ryanhalliday.
Questions
- Is overrideConfig a bug or a feature?
Both. The advisory says the feature is intentional but needs strong protections and should be disabled by default. It has no allow-list of permitted variables.
- Can an attacker affect other users of my Flowise instance?
The advisory says the issues are self-targeted and do not persist to other users. They still expose the server and the business.
- Why do the severity scores differ?
The Flowise CVSS 4.0 vector requires high privileges and scores 8.6. VulnCheck lists no privileges required and scores 9.3, critical. Treat any unauthenticated Prediction API as the worse case.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Flowise vulnerabilities
All Flowise entriesCVE-2026-73483
Flowise NodeVM sandbox escape via puppeteer allowlist - authenticated RCE and arbitrary file read via Chromium
critical9.4Oct 7, 2026CVE-2026-73487
Flowise Prompt Injection to RCE and SSRF via CSV/Airtable Agent Python Validator Bypass
critical9.0Oct 7, 2026CVE-2026-69250
Flowise: Unauthenticated OAuth2 Refresh Enables Non-Blind SSRF and Secret Exfiltration
high8.5Aug 4, 2026CVE-2026-69251
Flowise RCE via TypeORM DataSource
critical9.0Aug 4, 2026CVE-2026-69252
Flowise: Missing authorization on `/api/v1/files` allows low-privileged API keys to list and delete files across workspaces within the same organization
high7.2Aug 4, 2026CVE-2026-69253
Flowise Sandbox Escape to RCE
critical9.0Aug 4, 2026
