PT-2026-67830 · Flowise · Flowise
CVE-2026-70477
·
Published
2026-08-04
·
Updated
2026-09-09
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Flowise versions prior to 3.1.3
Description
An unauthenticated remote attacker can execute arbitrary code in the context of the service account or the user running the server. The issue occurs when a chatflow uses a CSV Agent node, where the
run() method of the CSV Agents class uses untrusted data to construct an LLM prompt. The resulting pythonCode is validated by the validatePythonCodeForDataFrame() function using a static regex blocklist before being executed in an unsandboxed Pyodide environment. Pyodide is a Python distribution for the browser and Node.js that, in this implementation, lacks isolation from the host operating system. Attackers can bypass the blocklist validator using obfuscation techniques such as string concatenation, chr() encoding, MRO traversal, or frame object inspection to execute malicious Python scripts.Recommendations
Update Flowise to version 3.1.3.
As a temporary mitigation, restrict access to the CSV Agent node to minimize the risk of exploitation.
Exploit
Fix
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Flowise