NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · Flowise

CVE-2024-58351: Flowise OverrideConfig security vulnerability

highCVSS 4.0 8.6GHSA-5cph-wvm9-45gj

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 flowise

For 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:

  1. Remote code execution. While inside a sandbox this allows for
  2. Sandbox escape
  3. DoS by crashing the server
  4. SSRF
  5. Prompt Injection, both System and User
  6. Full control over LLM prompts
  7. 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

  • overrideConfig should be disabled by default
  • overrideConfig should 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.
  • vm2 and 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 entries