Code Injection in Flowise - CVE-2026-41264

 

Code Injection in Flowise - CVE-2026-41264

Published: April 20, 2026 / Updated: July 1, 2026


Vulnerability identifier: #VU126598
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-41264
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

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.


Affected software

Flowise

How to mitigate CVE-2026-41264

Install security update from vendor's website.

Flowise - update to 3.1.0

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins