Skip to content
FlowiseGHSA-5cph-wvm9-45gj

Flowise OverrideConfig security vulnerability

HighCVE-2024-58351 · Published Nov 21, 2024 · updated Sep 14, 2026

### 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 1. Sandbox escape 2. DoS by crashing the server 3. SSRF 2. Prompt Injection, both System and User 1. Full control over LLM prompts 2. 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`...

GitHub advisory

Affected versions

PackageAffectedFixed in
flowise
npm
< 2.1.42.1.4
Details and references

### 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 1. Sandbox escape 2. DoS by crashing the server 3. SSRF 2. Prompt Injection, both System and User 1. Full control over LLM prompts 2. 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

CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Severity from
GitHub (reviewed advisory)
Weakness
CWE-15
Also known as
CVE-2024-58351

More Flowise advisories

All Flowise
Advisory
FlowiseAI Flowise arbitrary file upload vulnerability
HighMar 5, 2025
Flowise and Flowise Chat Embed vulnerable to Stored Cross-site Scripting
Medium9.6Sep 25, 2024
Flowise Unauthenticated Denial of Service (DoS) vulnerability
High7.5Aug 27, 2024
Flowise Authentication Bypass vulnerability
High7.3Aug 27, 2024
Flowise Cross-site Scripting in api/v1/chatflows/id
Medium6.1Aug 5, 2024
Flowise Cross-site Scripting in /api/v1/chatflows-streaming/id
Medium6.1Aug 5, 2024

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.