Summary
CVE-2026-70477 is a code injection (CWE-94) vulnerability in Flowise, the open-source drag-and-drop platform for building LLM applications and AI agents. A prompt injection sent to a chatflow that uses a CSV Agent node can drive the LLM into returning a malicious Python script that bypasses the blocklist validator and executes in an unsandboxed Pyodide environment, resulting in remote code execution. The issue is rated Critical (CVSS 9.5).
Technical details
- Root cause: The CSV Agent’s
runmethod builds LLM prompts from untrusted user input and then executes the model’s Python response. Validation relies on a static regex blocklist that can be circumvented through obfuscation. - Trigger conditions: A chatflow using a CSV Agent node processes an attacker-supplied prompt, causing the LLM to emit Python that passes the
validatePythonCodeForDataFramecheck. - Attack vector: Network. A prompt injection delivered to a chatflow endpoint requires no privileges and no user interaction.
- Impact: Pyodide is not sandboxed from the host operating system, so any Python code passing the validator runs with full access to OS interfaces — leading to complete compromise of confidentiality, integrity, and availability.
Affected software
- Flowise (FlowiseAI) versions prior to 3.1.3 (npm
flowiseandflowise-components≤ 3.1.2).
Severity
- CVSS 4.0 base score: 9.5 (Critical)
- 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
Mitigation and recommended actions
- Immediate: Upgrade to Flowise 3.1.3 or later, which contains the fix.
- If no patch can be applied: Restrict network exposure of Flowise instances, avoid deploying or exposing chatflows that use the CSV Agent node, and place instances behind authenticated, access-controlled network boundaries until upgrading.

