FlowiseAI Flowise
Flowise: Remote Code Execution Vulnerability in CSVAgent
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, the CSVAgent node allowed users to provide Python code that is executed through pyodide; although a denylist blocked dangerous Python constructs, pandas.read_pickle() could deserialize a pickled payload and achieve code execution without matching the denied words. The affected file is flowise-components/nodes/agents/CSVAgent/CSVAgent.ts, where user-supplied customReadCSVFunc is evaluated as pd.${customReadCSVFunc}. An authenticated user who can create or modify a chatflow can add a CSV Agent, place a malicious read_pickle payload in the Additional Parameters, save the chatflow, and trigger /api/v1/prediction/<UUID> to execute commands. 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/6257
- Patch github.com/FlowiseAI/Flowise/commit/c79fe56a6c…
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.