{"id":"CVE-2026-69251","published":"2026-08-04T14:27:55Z","modified":"2026-08-04T15:35:08Z","title":"Flowise RCE via TypeORM DataSource","vendor":"FlowiseAI","product":"Flowise","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9,"severity":"CRITICAL","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02742,"percentile":0.8652,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-g32j-mmxr-gfq5","tags":["x_refsource_CONFIRM"]}],"priority":{"score":28.6,"factors":[{"name":"EPSS percentile","points":17.3},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.3}]},"exploitSources":{"nuclei":[{"id":"CVE-2026-69251","name":"Flowise < 3.1.3 - Remote Code Execution","severity":"critical","path":"http/cves/2026/CVE-2026-69251.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-69251.yaml"}],"provenance":"source"},"vendorSlug":"flowiseai","affectedVersions":[{"vendor":"FlowiseAI","product":"Flowise","versions":["< 3.1.3"]},{"vendor":"FlowiseAI","product":"flowise-components","versions":["< 3.1.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-04T15:33:53.859253Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"flowise","vulnerableRanges":["<3.1.3"],"patched":["3.1.3"],"from":["GHSA-g32j-mmxr-gfq5"],"provenance":"source"},{"ecosystem":"npm","package":"flowise-components","vulnerableRanges":["<3.1.3"],"patched":["3.1.3"],"from":["GHSA-g32j-mmxr-gfq5"],"provenance":"source"}],"summary":{"text":"Flowise, the drag-and-drop LLM flow builder by FlowiseAI, has a flaw in its record manager and agent memory nodes (including the MySQL, PostgreSQL, SQLite and AgentMemory components) that lets users set arbitrary TypeORM DataSource options through the additionalConfig input. An authenticated user with network access to the server can upload a JavaScript payload and reference it from additionalConfig.entities, causing the server to load and execute that code, with no user interaction required and the attacker needing only a valid account.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:18:14Z"},"euvd":{"id":"EUVD-2026-52701","exploited":false,"provenance":"source"}}