Flowise CSVAgent allows code execution through pandas pickle loading
What this means
An attacker who can send data to a Flowise CSVAgent node can run any code on the system where Flowise runs. They could steal data, modify files, install malware, or take over the entire server.
SecurityElites Manager Brief: the decision in one minute
Flowise's CSVAgent can be tricked into running malicious code through a loophole in its safety checks. Any instance where users upload CSV files or external data is at risk. Update both flowise and flowise-components npm packages to version 3.1.3 and restart.
| SecurityElites Fix-First Score | 51 of 100 Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity. |
|---|---|
| SecurityElites fix window | Within 7 days Critical severity. This is our suggestion from common practice; your own policy comes first. |
| Who should own the fix | Platform or DevOps team managing Flowise deployments. |
| Likely effort | About 15 minutes: update flowise and flowise-components npm packages to 3.1.3 and restart the service. No configuration changes needed. |
Questions to ask your team or supplier
- Who has access to upload CSV files or configure CSVAgent nodes in our Flowise instances, and do we trust all of them?
- Have we checked Flowise logs since before the patch date for signs that CSVAgent was used with suspicious or base64-encoded input?
- Do we have isolated test instances or staging Flowise deployments where we can verify the upgrade works before applying it to production?
Message you can forward to the owning team
Security notice: Flowise CSVAgent allows code execution through pandas pickle loading (CVE-2026-69256)
Severity: Critical
SecurityElites Fix-First Score: 51 of 100
SecurityElites fix window: Within 7 days
Action: upgrade to flowise-components 3.1.3, flowise 3.1.3 or later.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2026-69256-flowise-csvagent-allows-code-execution-through-pandas-pickle-loading/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01693What is at stake in your AI setup
- Model files: pickled model files stored in Flowise or accessible to it could be replaced with malicious versions
- API keys for external AI providers: credentials stored in Flowise configuration could be exfiltrated
- Retrieval or training data: CSV files and datasets processed by CSVAgent could be read and stolen
- Compute bill: an attacker could run expensive operations or mine cryptocurrency using Flowise compute resources
Who is exposed
- Teams running Flowise where end users can upload CSV files or configure CSVAgent nodes
- Flowise instances exposed to the internet or used in multi-tenant environments
- Automated workflows that process CSV files from external or user-supplied sources through CSVAgent
Upgrades you need
| Software | Affected versions | Move to |
|---|---|---|
| flowise-components npm | Every version before 3.1.3 | 3.1.3 or later |
| flowise npm | Every version before 3.1.3 | 3.1.3 or later |
Am I affected?
Enter the version you run. Nothing you type is stored.
SecurityElites Developer Brief: the technical picture
| Is it being attacked | Working attack code is public, so expect attacks to follow |
|---|---|
| Where the attacker must be | Anywhere that can reach it over a network, including the internet if it is exposed |
| Account needed | An ordinary user account |
| Does a person have to do something | No. It works without anyone clicking or opening anything |
| How hard it is to do | Easy. It works reliably once the attacker can reach it |
| Risk of: data being read | High |
| Risk of: data or settings being changed | High |
| Risk of: the service being taken down | High |
| Can attackers automate it at scale | No, according to CISA. Each target needs manual work |
| How much control an attacker gains | Total control of the affected software, according to CISA |
Read from the official severity rating: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Kind of coding mistake
- CWE-94: code can be injected
Where it sits in the standards
OWASP Top 10 for LLM Applications 2025: LLM03 Supply Chain (unsafe model and data files)
If you cannot upgrade today
- Disable the CSVAgent node entirely by removing or hiding it from the Flowise node library until you can upgrade
- If CSVAgent must be used, restrict access to only trusted users who cannot upload arbitrary CSV files
- Run Flowise in a sandboxed environment (container with no network access, minimal file permissions, restricted system calls) to limit the blast radius if code execution occurs
Signs it may already have been used against you
- Search Flowise logs for CSVAgent node executions with base64-encoded input or references to pickle
- Look for Python errors in Flowise logs that mention `pd.read_pickle` or unexpected deserialization activity
- Check for unusual file access or network connections from the Flowise process during times when CSVAgent was not expected to run
- Review Flowise audit logs (if enabled) for CSVAgent configurations that were added or modified before the patch date
Log searches to start from
CSVAgent node executions with base64 or pickle references (adapt field names to your logs)Elastic
process.name:flowise AND (message:CSVAgent OR message:base64 OR message:pickle) | stats count by messageUnusual Python execution via CSVAgent (adapt field names to your logs)Splunk
source=flowise_logs CSVAgent (read_pickle OR base64 OR exec) | table _time, message, sourceWritten with AI as a starting point. Review them and change the index and field names to match your own logs before you rely on the result.
SecurityElites Fix Guide: step by step
- Find where flowise and flowise-components are installedIf you use Flowise as a web service, check the package.json file in your Flowise installation directory. If you use Docker, run `docker images | grep flowise` to list running containers. Note the version shown in the container name or by running `docker inspect` on the container ID.
- Check the current version of flowise and flowise-componentsIn your Flowise installation directory, run `npm list flowise flowise-components` to see the installed versions. Record both version numbers.
- Stop the Flowise serviceIf running as a service, stop it using your service manager: `systemctl stop flowise` on Linux or the Windows Services panel. If running in Docker, run `docker stop `. If running locally in development, stop the Node process.
- Upgrade flowise and flowise-components to version 3.1.3In your Flowise installation directory, run `npm install flowise@3.1.3 flowise-components@3.1.3`. Wait for the install to complete without errors.
- Restart the Flowise serviceStart Flowise again using the same method you used to stop it: `systemctl start flowise`, `docker start `, or rerun your development command. Wait 10 seconds for it to be ready.
- Verify the fix is in placeRun `npm list flowise flowise-components` again and confirm both packages now show version 3.1.3. Access the Flowise web interface and confirm it loads without errors.
- Review logs for signs of past exploitationCheck Flowise logs (usually in `~/.flowise/logs` or your Docker container logs) for CSVAgent execution errors or unusual Python code patterns. Look for any pickle-related operations or base64-encoded payloads in the logs from before the upgrade date.
- If CSVAgent was exposed before the fix, rotate all credentials and API keysAny API keys, database passwords, or service credentials that Flowise had access to should be rotated, as an attacker could have read them. Audit recent file changes and network access from the Flowise server.
How to confirm it is fixed: Run `npm list flowise flowise-components` and confirm both packages show version 3.1.3 or later; also confirm the Flowise web interface loads without errors after restart.
SecurityElites Quick Fixes: copy and paste
Upgrade flowise-components with npmupgrade
npm install flowise-components@3.1.3
npm ls flowise-componentsUpgrade flowise with npmupgrade
npm install flowise@3.1.3
npm ls flowiseCheck installed Flowise versionfor this issue
npm list flowise flowise-componentsCheck Flowise version in Dockerfor this issue
docker exec <container_id> npm list flowise flowise-componentsLoad PyTorch weights without running codegeneral hardening
import torch
state = torch.load("model.pt", weights_only=True)Load safetensors weightsgeneral hardening
from safetensors.torch import load_file
state = load_file("model.safetensors")Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.
Let your AI coding assistant do the upgrade
Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.
Instruction for your coding assistant
You are helping me fix a security vulnerability (CVE-2026-69256) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n - flowise-components (npm): must be 3.1.3 or later
- flowise (npm): must be 3.1.3 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.SecurityElites Incident Drill: could your team handle this?
Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.
Ticket for your backlog
Paste into Jira, GitHub Issues or any tracker that reads Markdown.
Ready-made ticket
## Flowise CSVAgent allows code execution through pandas pickle loading (CVE-2026-69256)
**Severity:** Critical | **SE Fix-First Score:** 51/100 | **Fix window:** Within 7 days
**Record:** SE-AIV-01693 https://securityelites.com/ai-vulnerabilities/cve-2026-69256-flowise-csvagent-allows-code-execution-through-pandas-pickle-loading/
### Why this matters
An attacker who can send data to a Flowise CSVAgent node can run any code on the system where Flowise runs. They could steal data, modify files, install malware, or take over the entire server.
### What to do
1. Find where flowise and flowise-components are installed
2. Check the current version of flowise and flowise-components
3. Stop the Flowise service
4. Upgrade flowise and flowise-components to version 3.1.3
5. Restart the Flowise service
6. Verify the fix is in place
7. Review logs for signs of past exploitation
8. If CSVAgent was exposed before the fix, rotate all credentials and API keys
Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-69256-flowise-csvagent-allows-code-execution-through-pandas-pickle-loading/
### Done when
- [ ] flowise-components is at 3.1.3 or later everywhere it is installed
- [ ] flowise is at 3.1.3 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Run `npm list flowise flowise-components` and confirm both packages show version 3.1.3 or later; also confirm the Flowise web interface loads without errors after restart.
- [ ] Logs were checked for signs of earlier use
SecurityElites Fix Tracker
Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.
Related vulnerabilities
In the same software
- Flowise CSV and Airtable agents allow data theft via prompt injection Critical · CVE-2026-73487
- Flowise can run commands and read files outside its sandbox Critical · CVE-2026-119978
- Flowise OAuth2 token endpoint open to anyone, leaks access tokens Critical · CVE-2026-70478
- Flowise CSV Agent can run Python code sent by attackers Critical · CVE-2026-70477
- Flowise allows authenticated users to change other organizations' billing High · CVE-2026-70476
- Flowise allows any authenticated user to change execution records without permission check High · CVE-2026-70475
The same kind of mistake in other AI tools
- Listdom WordPress plugin allows anyone to run code on the server Critical · CVE-2026-126756
- DLOmix can run attacker code when loading PyTorch model files High · CVE-2026-141343
- HoloViz Lumen lets dashboard viewers run Python code on the server High · CVE-2026-141342
- RVC-Boss GPT-SoVITS can be made to run code when loading model files Critical · CVE-2026-140281
- MLflow can run attacker code during scorer deserialization Critical · CVE-2026-116692
Change history
- 4 Aug 2026: Made public
- 2 Dec 2026: Published
Official record
### SummaryThe CSVAgent node was observed to allow users to write Python code which gets executed via `pyodide`. The original intent was to allow users to utilise the `pandas` library for CSV processing. Although there is a denylist that checks for dangerous Python constructs from being passed in, `pandas` has a `read_pickle()` [function](https://pandas.pydata.org/docs/reference/api/pandas.read_pickle.html) that deserialises a pickled payload and this can be leveraged to achieve code execution.### DetailsThe affected file is the `CSVAgent` node, found in: `flowise-components/nodes/agents/CSVAgent/CSVAgent.ts`.```js try { const code = `import pandas as pd import base64 from io import StringIO import jsonbase64_string = "${base64String}"decoded_data = base64.b64decode(base64_string)csv_data = StringIO(decoded_data.decode('utf-8'))df = pd.${customReadCSVFunc} <1> my_dict = df.dtypes.astype(str).to_dict() print(my_dict) json.dumps(my_dict)` dataframeColDict = await pyodide.runPythonAsync(code) } catch (error) { throw new Error(error) } ```At <1>, the `customReadCSVFunc` is supplied by the user. This input goes through input validation that denies dangerous Python constructs from being passed in:```py const FORBIDDEN_PATTERNS: Array<{ pattern: RegExp; reason: string }> = [ // Imports (the executor pre-imports pandas and numpy; LLM code must not add any imports) { pattern: /\bfrom\s+\S+\s+import\b/g, reason: 'import statement (from...import)' }, { pattern: /\bimport\b/g, reason: 'import statement (all imports forbidden; pandas and numpy are pre-imported by the executor)' }, // Dangerous builtins { pattern: /\beval\s*\(/g, reason: 'eval()' }, { pattern: /\bexec\s*\(/g, reason: 'exec()' }, { pattern: /\bcompile\s*\(/g, reason: 'compile()' }, { pattern: /\b__import__\s*\(/g, reason: '__import__()' }, { pattern: /\bopen\s*\(/g, reason: 'open()' }, { pattern: /\bbreakpoint\s*\(/g, reason: 'breakpoint()' }, { pattern: /\binput\s*\(/g, reason: 'input()' }, { pattern: /\braw_input\s*\(/g, reason: 'raw_input()' }, { pattern: /\bglobals\s*\(/g, reason: 'globals()' }, { pattern: /\blocals\s*\(/g, reason: 'locals()' }, { pattern: /\bgetattr\s*\(/g, reason: 'getattr()' }, { pattern: /\bsetattr\s*\(/g, reason: 'setattr()' }, { pattern: /\bdelattr\s*\(/g, reason: 'delattr()' }, { pattern: /\breload\s*\(/g, reason: 'reload()' }, { pattern: /\bfile\s*\(/g, reason: 'file()' }, { pattern: /\bexecfile\s*\(/g, reason: 'execfile()' }, // Dangerous modules / attributes { pattern: /\bos\./g, reason: 'os module' }, { pattern: /\bsubprocess\./g, reason: 'subprocess module' }, { pattern: /\bsys\./g, reason: 'sys module' }, { pattern: /\bsocket\./g, reason: 'socket module' }, { pattern: /\burllib\./g, reason: 'urllib module' }, { pattern: /\brequests\./g, reason: 'requests module' }, { pattern: /\b__builtins__\b/g, reason: '__builtins__' }, { pattern: /\b__loader__\b/g, reason: '__loader__' }, { pattern: /\b__spec__\b/g, reason: '__spec__' }, { pattern: /\b__class__\b/g, reason: '__class__ (reflection)' }, { pattern: /\b__subclasses__\s*\(/g, reason: '__subclasses__()' }, { pattern: /\b__bases__\b/g, reason: '__bases__' }, { pattern: /\b__mro__\b/g, reason: '__mro__' }, { pattern: /\b__globals__\b/g, reason: '__globals__' }, { pattern: /\b__code__\b/g, reason: '__code__' }, { pattern: /\b__closure__\b/g, reason: '__closure__' }, { pattern: /\bvars\s*\(/g, reason: 'vars()' }, { pattern: /\bdir\s*\(/g, reason: 'dir()' }, { pattern: /\b__dict__\b/g, reason: '__dict__ (attribute reflection)' }, { pattern: /\b__module__\b/g, reason: '__module__ (module reflection)' } ] ```However, by using `pandas.read_pickle()`, an attacker can achieve code execution without hitting any of the denied words.### PoCFirst, generate a pickled payload that performs an OS command (replace
Weakness type: CWE-94
Use this record in your own tools
Get this record as JSON
curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-69256For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker
The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 2 Dec 2026. Read the vendor advisory before changing a production system.