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.
Published: 2026-08-04
Score: 9.5 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the CSV Agent node of Flowise, a drag‑and‑drop LLM designer, allows an attacker to inject a specially crafted prompt. The untrusted content is incorporated directly into an LLM prompt, causing the model to produce a malicious Python script. The script bypasses the blocklist validator and runs in an unsandboxed Pyodide environment, enabling arbitrary code execution under the service account. This is a classic example of a code injection weakness (CWE‑94).

Affected Systems

The vulnerability affects all installations of Flowise version 3.1.3 and earlier. Users should consult the Flowise release notes to verify that they are not running a vulnerable version.

Risk and Exploitability

The CVSS score of 9.5 marks this issue as Critical, indicating high impact and ease of exploitation. EPSS information is not available, so the current exploitation probability cannot be quantified, but the absence of a KEV listing means no confirmed active exploitation is known. Attackers would require network access to the Flowise service and the ability to submit prompts to a chatflow that includes a CSV Agent node. Once the prompt is delivered, the LLM response triggers unsandboxed execution of the attacker‑supplied Python code, giving full control over the service environment.

Generated by OpenCVE AI on August 4, 2026 at 21:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Flowise to version 3.1.3 or later to apply the vendor patch.
  • If the upgrade cannot be performed immediately, remove or disable CSV Agent nodes from all chatflows until the update is applied.
  • Limit or block untrusted user input to the Flowise service, or enforce stricter access controls to restrict who can create or modify chatflows that include CSV Agent nodes.

Generated by OpenCVE AI on August 4, 2026 at 21:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5xvg-pmgg-3mxr Flowise: CSV Agent Prompt Injection Remote Code Execution Vulnerability
History

Tue, 04 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Flowiseai
Flowiseai flowise
Vendors & Products Flowiseai
Flowiseai flowise

Tue, 04 Aug 2026 20:15:00 +0000

Type Values Removed Values Added
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.
Title Flowise: CSV Agent Prompt Injection Remote Code Execution Vulnerability
Weaknesses CWE-94
References
Metrics cvssV4_0

{'score': 9.5, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}


Subscriptions

Flowiseai Flowise
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-04T19:29:14.796Z

Reserved: 2026-08-04T15:24:41.339Z

Link: CVE-2026-70477

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T21:45:04Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')