Flowise CSV Agent node has a prompt injection remote code execution vulnerability (CVE-2026-70477)
CSV Agent Prompt Injection Remote Code Execution Vulnerability(CVE-2026-70477 / GHSA-5xvg-pmgg-3mxr)
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.
Discloses the complete chain from prompt injection to remote code execution in the Flowise CSV Agent node, along with eight bypass techniques; teams running their own chatflows can use this to check node permissions and sandbox configurations.