Skip to content
OpenAdvisories
Critical · 9.5 CVE-2026-70477 EUVD-2026-52910GHSA-5xvg-pmgg-3mxr

Flowise: CSV Agent Prompt Injection Remote Code Execution Vulnerability

Published Aug 4, 2026 · Updated Aug 5, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
FlowiseAI Flowise < 3.1.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm flowise < 3.1.3 3.1.3 GHSA-5xvg-pmgg-3mxr
npm flowise-components < 3.1.3 3.1.3 GHSA-5xvg-pmgg-3mxr

Advisories 1

References