CVE-2026-70477
Received Received - Intake

CSV Agent Prompt Injection in Flowise

Vulnerability report for CVE-2026-70477, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-04

Last updated on: 2026-08-04

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-04
Last Modified
2026-08-04
Generated
2026-08-05
AI Q&A
2026-08-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
flowiseai flowise to 3.1.3 (exc)
flowiseai flowise 3.1.3
flowise flowise to 3.1.3 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-70477 is a critical remote code execution vulnerability in Flowise, a drag-and-drop interface for building LLM flows. The flaw exists in the CSV Agent node where a prompt injection can trick the LLM into generating a malicious Python script. This script bypasses security checks and executes in an unsandboxed Pyodide environment, allowing arbitrary code execution on the server with the service account's privileges.

Detection Guidance

Check if Flowise version 3.1.2 or earlier is installed. Inspect running processes for unsandboxed Pyodide environments or CSV Agent node usage. Monitor network traffic for unexpected outbound connections from the Flowise service.

Impact Analysis

An attacker could exploit this to run arbitrary code on the server hosting Flowise. This could lead to data breaches, unauthorized access to sensitive information, or complete system compromise. The vulnerability affects versions 3.1.2 and earlier, so upgrading to 3.1.3 or later is critical to mitigate the risk.

Compliance Impact

This vulnerability could lead to unauthorized data access or exfiltration, violating GDPR's data protection requirements and HIPAA's safeguards for protected health information. Organizations using vulnerable versions may face compliance violations, legal penalties, and reputational damage due to potential data breaches.

Mitigation Strategies

Upgrade Flowise to version 3.1.3 or later. Remove or disable the CSV Agent node if present. Review and restrict network access to the Flowise service. Monitor for suspicious activity or unauthorized code execution.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-70477. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart