Skip to content

CVE-2026-69251 Flowise RCE via TypeORM DataSource

CriticalCVSS 9.0 EPSS 2.7% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
FlowiseAI Flowise < 3.1.3; = < 3.1.3 3.1.3 Fixed
npm flowise(npm) < 3.1.3; <= 3.1.2 3.1.3 Fixed
npm flowise-components(npm) < 3.1.3; <= 3.1.2 3.1.3 Fixed
FlowiseAI flowise-components = < 3.1.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
FlowiseAI Flowise = < 3.1.3 No fix listed
FlowiseAI flowise-components = < 3.1.3 No fix listed
npm flowise(npm) <= 3.1.2 No fix listed
npm flowise-components(npm) <= 3.1.2 No fix listed
FlowiseAI Flowise < 3.1.3 3.1.3
npm flowise(npm) < 3.1.3 3.1.3
npm flowise-components(npm) < 3.1.3 3.1.3

References