CyberRota Analysis
AI-GeneratedFlowise versions prior to 3.1.3 are vulnerable to a prompt injection flaw that allows attackers to send malicious input through a CSV Agent node, leading to the execution of arbitrary Python code in an unsandboxed environment. This critical vulnerability can compromise the service account, potentially enabling unauthorized access and control over the system. Organizations using affected versions should prioritize upgrading to 3.1.3 to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
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.