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.
Published: 2026-08-04
Score: 9 Critical
EPSS: 1.1% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw permits authenticated Flowise users to inject arbitrary TypeORM DataSource options through the additionalConfig field in 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, though the EPSS score is not available, leaving exploitation probability uncertain. 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.

Generated by OpenCVE AI on August 4, 2026 at 19:47 UTC.

Remediation

No vendor fix or workaround currently provided.

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 August 4, 2026 at 19:47 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

Tue, 04 Aug 2026 17:45:00 +0000

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

Tue, 04 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 04 Aug 2026 15:00:00 +0000

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'}


Subscriptions

Flowiseai Flowise Flowise-components
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-04T15:35:08.974Z

Reserved: 2026-08-03T19:54:19.852Z

Link: CVE-2026-69251

cve-icon Vulnrichment

Updated: 2026-08-04T15:34:11.830Z

cve-icon NVD

Status : Received

Published: 2026-08-04T15:16:44.430

Modified: 2026-08-04T16:16:28.847

Link: CVE-2026-69251

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T20:00:05Z

Weaknesses
  • CWE-94

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