CVE-2026-70477

Flowise: CSV Agent Prompt Injection Remote Code Execution Vulnerability

Published Aug 4, 2026 CVSS 4.0 · 9.5 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
CPEs cpe:2.3:a:flowiseai:flowise:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Flowiseai
Flowiseai flowise
Vendors & Products Flowiseai
Flowiseai flowise
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'}

Weaknesses
  • CWE-94

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 5, 2026, 1:51 PM
Reserved
Aug 4, 2026, 3:24 PM
Status
Analyzed
Published
Aug 4, 2026, 8:16 PM
Modified
Oct 24, 2026, 3:10 PM