9.3critical
Flowise - Remote Code Execution via overrideConfig Parameter
- Severity
- 9.3critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.86% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-5cph-wvm9-45gj
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Flowise Flowise | before 2.1.4 Not affected: 2.1.4 | CVE List |
| flowise (npm) | before 2.1.4 | GitHub Advisory Database |
All scores
| VulnCheck | 9.3critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | high 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 |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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
NVD (es)
Flowise anterior a la versión 2.1.4 permite que la configuración sea inyectada en el Chainflow durante la ejecución a través de la opción overrideConfig, compatible tanto en la integración web de frontend como en la API de Predicción de backend. Debido a que esta característica está habilitada por defecto sin una lista de permitidos (allow-list) de variables autorizadas y se basa en vm2 para el sandboxing, un atacante puede abusar de ella para lograr ejecución remota de código y escape de sandbox, denegación de servicio al bloquear el servidor, falsificación de petición del lado del servidor, inyección de prompt, y exfiltración de datos y variables del servidor. Estos problemas son auto-dirigidos y no persisten para otros usuarios.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-58351 changed 2026-11-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5cph-wvm9-45gj changed 2026-09-14 | CC-BY-4.0 |
| NVD | CVE-2024-58351 changed 2026-10-27 | Public domain |