Code Injection in Flowise - CVE-2026-41264
Published: April 20, 2026 / Updated: July 1, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to improper sandboxing in the run method of the CSV_Agents class when evaluating an LLM-generated python script from user-supplied prompts. A remote attacker can send a specially crafted prompt to cause execution of attacker-controlled code.
Exploitation requires a chatflow that uses the CSV Agent node, and successful prompt injection may depend on the model used.