CVE-2026-69264: CWE-94: Improper Control of Generation of Code ('Code Injection') in FlowiseAI Flowise
Prior to 3.1.3, Flowise CSVAgent interpolates an attacker-controlled segment of the csvFile data URI directly into a Python source-code template that is then executed by Pyodide. Because Pyodide is loaded with the default js bridge to globalThis, which on Node.js exposes eval and dynamic import, the attacker can break out of the Python string literal, hand a JavaScript string to js.eval, dynamically import Node built-in modules such as fs and child_process, and execute arbitrary file I/O or OS commands as the Flowise process. The two validator paths around this code, validatePythonCodeForDataFrame and validateCustomReadCSVFunction, are never applied to the bootstrap template. A workspace user with chatflows:create or agentflows/chatflows update permission can plant a CSV Agent node with a crafted csvFile; once the chatflow is exposed via POST /api/v1/prediction/:id, any unauthenticated request triggers host remote code execution. This issue is fixed in version 3.1.3.
AI Analysis
Technical Summary
CVE-2026-69264 is a critical code injection vulnerability (CWE-94) in FlowiseAI Flowise prior to version 3.1.3. The CSVAgent component interpolates attacker-controlled csvFile data URI segments directly into a Python source code template executed by Pyodide. Since Pyodide is loaded with a default JavaScript bridge exposing eval and dynamic import on Node.js, an attacker can break out of the Python string literal context, execute JavaScript code, dynamically import Node.js built-in modules like fs and child_process, and perform arbitrary file I/O or OS command execution as the Flowise process. The vulnerability can be exploited by a workspace user with chatflows:create or agentflows/chatflows update permissions by planting a malicious CSV Agent node. Once the chatflow is exposed via the POST /api/v1/prediction/:id endpoint, any unauthenticated request triggers remote code execution. The issue is resolved in Flowise version 3.1.3.
Potential Impact
Successful exploitation allows an attacker with limited workspace permissions to achieve unauthenticated remote code execution on the host running Flowise. This includes the ability to perform arbitrary file operations and execute OS commands with the privileges of the Flowise process, posing a critical security risk.
Mitigation Recommendations
This vulnerability is fixed in Flowise version 3.1.3. Users should upgrade to version 3.1.3 or later to remediate this issue. No official patch or temporary fix is indicated beyond upgrading. Until upgraded, restrict workspace permissions to trusted users only to reduce risk.
CVE-2026-69264: CWE-94: Improper Control of Generation of Code ('Code Injection') in FlowiseAI Flowise
Description
Prior to 3.1.3, Flowise CSVAgent interpolates an attacker-controlled segment of the csvFile data URI directly into a Python source-code template that is then executed by Pyodide. Because Pyodide is loaded with the default js bridge to globalThis, which on Node.js exposes eval and dynamic import, the attacker can break out of the Python string literal, hand a JavaScript string to js.eval, dynamically import Node built-in modules such as fs and child_process, and execute arbitrary file I/O or OS commands as the Flowise process. The two validator paths around this code, validatePythonCodeForDataFrame and validateCustomReadCSVFunction, are never applied to the bootstrap template. A workspace user with chatflows:create or agentflows/chatflows update permission can plant a CSV Agent node with a crafted csvFile; once the chatflow is exposed via POST /api/v1/prediction/:id, any unauthenticated request triggers host remote code execution. This issue is fixed in version 3.1.3.
CVSS v4.0
Score 9.4critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-69264 is a critical code injection vulnerability (CWE-94) in FlowiseAI Flowise prior to version 3.1.3. The CSVAgent component interpolates attacker-controlled csvFile data URI segments directly into a Python source code template executed by Pyodide. Since Pyodide is loaded with a default JavaScript bridge exposing eval and dynamic import on Node.js, an attacker can break out of the Python string literal context, execute JavaScript code, dynamically import Node.js built-in modules like fs and child_process, and perform arbitrary file I/O or OS command execution as the Flowise process. The vulnerability can be exploited by a workspace user with chatflows:create or agentflows/chatflows update permissions by planting a malicious CSV Agent node. Once the chatflow is exposed via the POST /api/v1/prediction/:id endpoint, any unauthenticated request triggers remote code execution. The issue is resolved in Flowise version 3.1.3.
Potential Impact
Successful exploitation allows an attacker with limited workspace permissions to achieve unauthenticated remote code execution on the host running Flowise. This includes the ability to perform arbitrary file operations and execute OS commands with the privileges of the Flowise process, posing a critical security risk.
Mitigation Recommendations
This vulnerability is fixed in Flowise version 3.1.3. Users should upgrade to version 3.1.3 or later to remediate this issue. No official patch or temporary fix is indicated beyond upgrading. Until upgraded, restrict workspace permissions to trusted users only to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-03T19:54:19.853Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a722805bf8831d53935abe2
Added to database: 08/04/2026, 17:57:25 UTC
Last enriched: 08/04/2026, 18:12:03 UTC
Last updated: 08/04/2026, 18:34:00 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.