Skip to content
CriticalVulnerabilityLLM-specific

GHSA-5xvg-pmgg-3mxr: Flowise: CSV Agent Prompt Injection Remote Code Execution Vulnerability

Published
Record updated
View JSON
Affected
  • flowise-components <= 3.1.2
  • flowise <= 3.1.2
Fixed in
3.1.3
  • flowise-components 3.1.3 released June 25, 2026, 40 days before disclosure
  • flowise 3.1.3 released June 25, 2026, 40 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%

Summary

Flowise version 3.1.1 (tested on Ubuntu 25.10) contains a flaw in the run method of the CSV_Agents class, used by the CSV Agent node. Untrusted input is placed into an LLM prompt without adequate sanitization, so a prompt injection can make the LLM return a malicious Python script. That script passes a regex blocklist validator in packages/components/src/pythonCodeValidator.ts, which can be bypassed, and then runs in pyodide, which is not sandboxed from the host OS, giving code execution as the server's service account. Authentication is not required to exploit it.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.