CVE-2026-69251: CWE-94: Improper Control of Generation of Code ('Code Injection') in FlowiseAI Flowise
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, Flowise record manager and agent memory nodes allowed users to set arbitrary TypeORM DataSource options through the additionalConfig input in packages/components/nodes/recordmanager/MySQLRecordManager/MySQLrecordManager.ts, packages/components/nodes/recordmanager/PostgresRecordManager/PostgresRecordManager.ts, packages/components/nodes/recordmanager/SQLiteRecordManager/SQLiteRecordManager.ts, packages/components/nodes/memory/AgentMemory/MySQLAgentMemory/MySQLAgentMemory.ts, and packages/components/nodes/memory/AgentMemory/AgentMemory.ts. TypeORM DataSource options such as entities, subscribers, and migrations can load local JavaScript files, allowing an authenticated user to execute arbitrary code on the server by uploading a JavaScript payload and referencing it from additionalConfig.entities. This issue is fixed in version 3.1.3.
AI Analysis
Technical Summary
Flowise, a drag & drop interface for building customized large language model flows, has a code injection vulnerability in versions before 3.1.3. The issue arises because the record manager and agent memory nodes allow users to set arbitrary TypeORM DataSource options through the additionalConfig input. Specifically, options such as entities, subscribers, and migrations can load local JavaScript files. An authenticated user can upload a malicious JavaScript payload and reference it from additionalConfig.entities, resulting in arbitrary code execution on the server. This vulnerability is tracked as CVE-2026-69251 and is fixed in Flowise version 3.1.3.
Potential Impact
An authenticated attacker can execute arbitrary code on the server hosting Flowise by exploiting this vulnerability. This can lead to full compromise of the server environment, data theft, or further attacks within the network. The CVSS 4.0 score of 9 indicates a critical severity with network attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade Flowise to version 3.1.3 or later, where this vulnerability is fixed. No other mitigations are specified. Patch status is confirmed by the vendor advisory stating the fix is in 3.1.3.
CVE-2026-69251: CWE-94: Improper Control of Generation of Code ('Code Injection') in FlowiseAI Flowise
Description
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, Flowise record manager and agent memory nodes allowed users to set arbitrary TypeORM DataSource options through the additionalConfig input in packages/components/nodes/recordmanager/MySQLRecordManager/MySQLrecordManager.ts, packages/components/nodes/recordmanager/PostgresRecordManager/PostgresRecordManager.ts, packages/components/nodes/recordmanager/SQLiteRecordManager/SQLiteRecordManager.ts, packages/components/nodes/memory/AgentMemory/MySQLAgentMemory/MySQLAgentMemory.ts, and packages/components/nodes/memory/AgentMemory/AgentMemory.ts. TypeORM DataSource options such as entities, subscribers, and migrations can load local JavaScript files, allowing an authenticated user to execute arbitrary code on the server by uploading a JavaScript payload and referencing it from additionalConfig.entities. This issue is fixed in version 3.1.3.
CVSS v4.0
Score 9.0critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Flowise, a drag & drop interface for building customized large language model flows, has a code injection vulnerability in versions before 3.1.3. The issue arises because the record manager and agent memory nodes allow users to set arbitrary TypeORM DataSource options through the additionalConfig input. Specifically, options such as entities, subscribers, and migrations can load local JavaScript files. An authenticated user can upload a malicious JavaScript payload and reference it from additionalConfig.entities, resulting in arbitrary code execution on the server. This vulnerability is tracked as CVE-2026-69251 and is fixed in Flowise version 3.1.3.
Potential Impact
An authenticated attacker can execute arbitrary code on the server hosting Flowise by exploiting this vulnerability. This can lead to full compromise of the server environment, data theft, or further attacks within the network. The CVSS 4.0 score of 9 indicates a critical severity with network attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade Flowise to version 3.1.3 or later, where this vulnerability is fixed. No other mitigations are specified. Patch status is confirmed by the vendor advisory stating the fix is in 3.1.3.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-03T19:54:19.852Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a71fdb7bf8831d539fada22
Added to database: 08/04/2026, 14:56:55 UTC
Last enriched: 08/04/2026, 15:13:52 UTC
Last updated: 08/04/2026, 15:42:02 UTC
Views: 4
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.
External Links
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.