CVE-2026-69251

Flowise RCE via TypeORM DataSource

Published Aug 4, 2026 CVSS 4.0 · 9 Critical EPSS 2.7% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The flaw permits authenticated Flowise users to inject arbitrary TypeORM Data several record manager and memory node components. By specifying a local JavaScript file in the entities array, an attacker can upload and execute malicious code on the server, which is a classic source‑code injection (CWE‑94). This enables an attacker to compromise confidentiality, integrity, and availability by running code with the server’s process privileges.

Affected Systems

The affected products are Flowise and Flowise components from FlowiseAI. Versions older than 3.1.3 that include MySQLRecordManager, PostgresRecordManager, SQLiteRecordManager, and MySQLAgentMemory modules are vulnerable; any deployment that exposes the additionalConfig option for those nodes is at risk.

Risk and Exploitability

The CVSS score of 9 indicates a critical severity, and the EPSS score of 3% suggests a low‑moderate likelihood of exploitation. The vulnerability is not listed in the KEV catalog. The attack requires authenticated access to the Flowise UI that allows upload and configuration of additionalConfig. Once an attacker uploads a JavaScript payload and references it, the code runs with server privileges, providing full control over the application.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Flowise to version 3.1.3 or newer, which removes the vulnerable configuration handling.
  • Restrict the record manager and agent memory node configuration so that only trusted administrators can set additionalConfig, disabling user‑supplied TypeORM options.
  • Enforce strict validation or disable the upload of arbitrary JavaScript files to prevent execution of malicious payloads.

Generated by OpenCVE AI on September 21, 2026 at 06:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-g32j-mmxr-gfq5 Flowise RCE via TypeORM DataSource
History
Type Values Removed Values Added
CPEs cpe:2.3:a:flowiseai:flowise:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Flowiseai
Flowiseai flowise
Flowiseai flowise-components
Vendors & Products Flowiseai
Flowiseai flowise
Flowiseai flowise-components
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Flowise RCE via TypeORM DataSource
Weaknesses CWE-94
References
Metrics cvssV4_0

{'score': 9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 4, 2026, 3:35 PM
Reserved
Aug 3, 2026, 7:54 PM
Status
Analyzed
Published
Aug 4, 2026, 3:16 PM
Modified
Sep 14, 2026, 8:09 PM