{"id":"CVE-2026-41264","published":"2026-04-23T20:00:19Z","modified":"2026-04-24T13:39:10Z","title":"Flowise: CSV Agent Prompt Injection Remote Code Execution Vulnerability","vendor":"FlowiseAI","product":"Flowise","tier":"tail","description":{"text":"Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.0, the specific flaw exists within the run method of the CSV_Agents class. The issue results from the lack of proper sandboxing when evaluating an LLM generated python script. An attacker can leverage this vulnerability to execute code in the context of the user running the server. Using prompt injection techniques, an unauthenticated attacker with the ability to send prompts to a chatflow using the CSV Agent node may convince an LLM to respond with a malicious python script that executes attacker controlled commands on the Flowise server. This vulnerability is fixed in 3.1.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.2,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01858,"percentile":0.79734,"provenance":"source"},"cwes":[{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"references":[{"url":"https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-3hjv-c53m-58jj","tags":["x_refsource_CONFIRM"]}],"priority":{"score":27.4,"factors":[{"name":"EPSS percentile","points":15.95},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.44}]},"exploitSources":{"metasploit":[{"name":"Flowise CSV Agent Prompt Injection RCE","module":"exploit/multi/http/flowise_auth_rce_cve_2026_41264","type":"exploit","disclosureDate":"2026-04-22","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/flowise_auth_rce_cve_2026_41264.rb"}],"first":{"date":"2026-04-22","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/flowise_auth_rce_cve_2026_41264.rb"},"provenance":"source"},"vendorSlug":"flowiseai","affectedVersions":[{"vendor":"FlowiseAI","product":"Flowise","versions":["< 3.1.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-24T13:39:06.171550Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"flowise","vulnerableRanges":["<3.1.0"],"patched":["3.1.0"],"from":["GHSA-3hjv-c53m-58jj"],"provenance":"source"},{"ecosystem":"npm","package":"flowise-components","vulnerableRanges":["<3.1.0"],"patched":["3.1.0"],"from":["GHSA-3hjv-c53m-58jj"],"provenance":"source"}],"summary":{"text":"The CSV Agent component's run method in Flowise, a drag-and-drop interface for building LLM flows, fails to sandbox the Python script that the language model generates when evaluating it, a flaw present in versions prior to 3.1.0. An unauthenticated attacker who can send prompts to a chatflow containing the CSV Agent node can use prompt injection to get the LLM to output a malicious Python script, which then runs attacker-controlled commands in the context of the user running the Flowise server, and the attack requires no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:42:12Z"},"euvd":{"id":"EUVD-2026-25293","exploited":false,"provenance":"source"}}