FlowiseAI Flowise
Flowise: CSV Agent Remote Code Execution via Pyodide Code Injection — Root Shell Verified
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, the CSVAgent in packages/components/nodes/agents/CSVAgent/CSVAgent.ts extracted attacker-controlled CSV data with file.split(',').pop() and interpolated it directly into executable Python as base64_string = "${base64String}" before calling Pyodide. The validatePythonCodeForDataFrame() denylist only checked later LLM-generated code and did not validate this initial code block. An authenticated attacker could inject a closing quote followed by Python code, use Pyodide's js bridge to load Node.js child_process, and execute arbitrary operating system commands as root in the Flowise container. This issue is fixed in version 3.1.3.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.1.3
Fixed in 3.1.3
Mitigation
Upgrade Flowise to 3.1.3 or later.
References
- Vendor advisory github.com/FlowiseAI/Flowise/security/advisori…
- Patch github.com/FlowiseAI/Flowise/pull/6499
- Patch github.com/FlowiseAI/Flowise/commit/f4e2794f6a…
1 more
- Release notes github.com/FlowiseAI/Flowise/releases/tag/flow…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.