cd /news/ai-safety/how-to-close-the-flowise-csv-agent-p… · home topics ai-safety article
[ARTICLE · art-89426] src=dev.to ↗ pub= topic=ai-safety verified=true sentiment=↓ negative

How to Close the Flowise CSV Agent Prompt Injection Hole Today

A newly disclosed vulnerability, CVE-2026-70477, affects Flowise's CSV Agent node, allowing prompt injection via malicious CSV files to hijack chatflows. The fix requires upgrading to Flowise 3.1.3, but developers must also update existing chatflow definitions to fully patch the flaw. The issue highlights the broader risk of trusting model output from untrusted input in agentic pipelines.

read1 min views1 publishedAug 9, 2026

Originally published at vinpatel.com

In the next few minutes you'll know exactly how to close the prompt injection hole in Flowise's CSV Agent, and why the fix can't wait.

NVD just published CVE-2026-70477. Flowise is the drag-and-drop builder thousands of teams use to wire up LLM chatflows without writing orchestration code by hand, and the flaw sits in the CSV Agent node. A prompt injection buried inside an uploaded CSV can hijack a chatflow that uses that agent. The mechanism is simple and ugly: the model reads the file expecting data, finds text that looks like an instruction, and follows it instead of the user's actual request. Any Flowise instance running a version before 3.1.3, with a CSV Agent exposed to untrusted uploads, is sitting open right now.

Here's the fix, in order:

npx flowise --version
npm install -g flowise@3.1.3

The gotcha that will actually bite you: upgrading the core package does not retroactively patch chatflows you already built and saved. Flowise stores flow definitions separately from the engine. Skip step 3 and you'll patch the platform while leaving the one customer-facing flow that matters running on the vulnerable logic, and you won't know until someone finds it for you.

This patch closes one hole. It doesn't fix the underlying habit of trusting model output from untrusted input by default. If you're wiring agents into a broader orchestration layer the way Flowise does, the breakdown of what's actually shipping in full agentic pipelines is worth a look: the autonomous stack for end-to-end agentic products.

Subscribe for the next one of these before it's a postmortem. vinpatel.com/subscribe/

── more in #ai-safety 4 stories · sorted by recency
── more on @flowise 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-to-close-the-flo…] indexed:0 read:1min 2026-08-09 ·