Skip to content
EventPast event

Flowise agent prompt injection vulnerability can lead to code execution and data exfiltration

2 reports2 reporting sourcesLatest report

Start here

AI overview

Trend Micro's Zero Day Initiative disclosed that the CSV Agent node in Flowise has a remote code execution vulnerability caused by prompt injection (CVE-2026-70477 / GHSA-5xvg-pmgg-3mxr), with a CVSS score of 9.8, exploitable without authentication, tested on version 3.1.1 on the Ubuntu 25.10 platform. The vulnerability is in the run method of the CSV_Agents class: the method concatenates CSV column names and user input into the system prompt and passes the code returned by the LLM to Python for execution. A subsequent GitHub security advisory stated that the CSV Agent and Airtable Agent in Flowise 3.1.2 and earlier versions validate LLM-generated Python code only with a 38-entry regex blacklist, which can be bypassed via prompt injection through the unauthenticated prediction API, with a CVSS score of 9.3; the validation does not block pandas functions that accept URLs, such as pd.read_json, pd.read_csv, and pd.read_html, allowing an attacker to send the entire dataset to an external destination via a URL request, resulting in data exfiltration and SSRF. The issue was fixed in 3.1.3.

Generated by AI from reports · Updated 19 days ago

Storyline

Developments on the same subject and issue, from earliest to latest

2 events
  1. · 2 reports· Attention42

    Flowise agent prompt injection vulnerability can lead to code execution and data exfiltrationThis event

  2. · 1 reports· Attention41
    Research reveals prompt injection leading to RCE vulnerabilities in 7 AI orchestration platforms

Latest developments

2 developments
  1. · 1 report
    Flowise 3.1.2 and earlier versions have a prompt injection vulnerability that can lead to RCE and SSRF
    GitHub Security Advisories: In Flowise 3.1.2 and earlier versions, the CSV and Airtable Agents can bypass Python validation via prompt injection, leading to data exfiltration and SSRF
  2. Date not given · 1 report
    Flowise CSV Agent prompt injection leads to remote code execution vulnerability
    FlowiseAI/Flowise: Flowise CSV Agent node has a prompt injection remote code execution vulnerability (CVE-2026-70477)

Progress timeline

Oct 8
  1. GitHub Security AdvisoriesSelected
    In Flowise 3.1.2 and earlier versions, the CSV and Airtable Agents can bypass Python validation via prompt injection, leading to data exfiltration and SSRF

    In Flowise 3.1.2 and earlier versions, the CSV Agent and Airtable Agent validate LLM-generated Python code using a 38-entry regex blacklist, which can be bypassed via prompt injection through the unauthenticated prediction API; it was fixed in 3.1.3, CVSS score 9.3. The validation does not block pandas functions that accept URLs, such as pd.read_json, pd.read_csv, and pd.read_html; an attacker can cause the entire dataset to be sent to an external server with a URL request, and can also launch SSRF against internal network services and cloud metadata endpoints; importlib, chr(), and np.ctypeslib are likewise not covered. The discoverer is Peyton Kennedy of Endor Labs.

Date not provided
  1. Date not given
    FlowiseAI/FlowiseSelected
    Flowise CSV Agent node has a prompt injection remote code execution vulnerability (CVE-2026-70477)

    Trend Micro's Zero Day Initiative (ZDI) disclosed a prompt injection vulnerability in Flowise's CSV Agent node leading to remote code execution, numbered CVE-2026-70477 / GHSA-5xvg-pmgg-3mxr, with a CVSS score of 9.8, exploitable without authentication. The tested version is 3.1.1, on Ubuntu 25.10. The vulnerability is in the run method of the CSV_Agents class: it concatenates CSV column names and user input into the system prompt, and executes the code returned by the LLM directly in unsandboxed pyodide after validation by a regex blacklist in pythonCodeValidator.ts, with no isolation between pyodide and the host operating system. Attackers can also configure a chatflow pointing to a self-controlled server to directly return malicious Python payloads, bypassing the LLM. The PoC provides three modes—server, chatflow, and prompt_injection—and can execute arbitrary commands.