CVE-2024-58351 Details
Description
Flowise before 2.1.4 allows configuration to be injected into the Chainflow during execution via the overrideConfig option, supported in both the frontend web integration and the backend Prediction API. Because this feature is enabled by default with no allow-list of permitted variables and relies on vm2 for sandboxing, an attacker can abuse it to achieve remote code execution and sandbox escape, denial of service by crashing the server, server-side request forgery, prompt injection, and server variable and data exfiltration. These issues are self-targeted and do not persist to other users.
A remote code execution vulnerability has been identified in Flowise versions prior to 2.1.4. This issue arises from the `overrideConfig` option, which allows configuration to be injected into the Chainflow during execution. The vulnerability is present in both the frontend web integration and the backend Prediction API. The `overrideConfig` feature is enabled by default, lacks an allow-list for permitted variables, and depends on vm2 for sandboxing. Exploitation of this vulnerability could lead to remote code execution, sandbox escape, denial of service by crashing the server, server-side request forgery, prompt injection, and exfiltration of server variables and data. These impacts are self-targeted and do not affect other users, but they expose the server and business to risk.
Users are advised to update Flowise to version 2.1.4 or later. It is also recommended to disable the `overrideConfig` option by default and implement an explicit allow-list of variables that can be modified. Furthermore, vm2 and its forks should be removed, as the author has indicated that fixing the vulnerability is not feasible. The suggested replacement is the `isolated-vm` package.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 20, 2026CISA-ADP
Assessed Jun 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Flowise | < 2.1.4 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 27, 2026 | CVE Translated | [email protected] |
| Jun 22, 2026 | CVE Modified | CISA-ADP |
| Jun 20, 2026 | New CVE Received | [email protected] |
Volerion