Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, a prompt injection sent to a chatflow using a CSV Agent node can cause the LLM to respond with a malicious Python script that bypasses the blocklist validator and executes in an unsandboxed Pyodide environment. The specific flaw exists within the run method of the CSV_Agents class, where untrusted data is used to construct an LLM prompt and the resulting pythonCode is validated by validatePythonCodeForDataFrame before execution. An attacker can leverage this to execute arbitrary code in the context of the service account. This issue is fixed in 3.1.3.
Fix
Patch, vendor advisory and mitigation references on NVD 4
- https://github.com/FlowiseAI/Flowise/commit/f4e2794f6a576b94578f2fdafbf49c2fb304626c Patch
- https://github.com/FlowiseAI/Flowise/pull/6499 Issue Tracking, Patch
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-5xvg-pmgg-3mxr Vendor Advisory
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-5xvg-pmgg-3mxr Vendor Advisory
Vendor advisories in the News 1
- ZDI-26-634: Flowise CSV Agent Prompt Injection Remote Code Execution Vulnerability Zero Day Initiative: published advisories · 2026-09-09
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 9.5 · flowiseaiNVD modified 2026-10-23 21:10
Affected (CPE criteria) 1
cpe:2.3:a:flowiseai:flowise:*:*:*:*:*:*:*:*
References 5
- https://github.com/FlowiseAI/Flowise/commit/f4e2794f6a576b94578f2fdafbf49c2fb304626c Patch
- https://github.com/FlowiseAI/Flowise/pull/6499 Issue Tracking, Patch
- https://github.com/FlowiseAI/Flowise/releases/tag/[email protected] Release Notes
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-5xvg-pmgg-3mxr Vendor Advisory
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-5xvg-pmgg-3mxr Vendor Advisory