Skip to content

CVE-2026-70477 Flowise: CSV Agent Prompt Injection Remote Code Execution Vulnerability

CriticalCVSS 9.5 EPSS 0.81%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
FlowiseAI Flowise < 3.1.3; = < 3.1.2 3.1.3 Fixed
npm flowise(npm) < 3.1.3; <= 3.1.2 3.1.3 Fixed
npm flowise-components(npm) < 3.1.3; <= 3.1.2 3.1.3 Fixed

Affected products

ProductAffected versionsFixed in
FlowiseAI Flowise = < 3.1.2 No fix listed
npm flowise(npm) <= 3.1.2 No fix listed
npm flowise-components(npm) <= 3.1.2 No fix listed
FlowiseAI Flowise < 3.1.3 3.1.3
npm flowise(npm) < 3.1.3 3.1.3
npm flowise-components(npm) < 3.1.3 3.1.3

References