Flowise can run attacker code through SQLite Record Manager node settings
What this means
An attacker who can build or edit a Flowise workflow can run any code on the server where Flowise runs. They can steal data, change files, install malware, or take over the machine. Any account, data, or system that Flowise can reach is at risk.
SecurityElites Manager Brief: the decision in one minute
Flowise lets people who can build workflows run any code on your server. This is critical: someone could steal your data, disrupt your service, or take over the machine. Upgrade to version 3.1.3 immediately and limit who can edit workflows.
| SecurityElites Fix-First Score | 51 of 100 Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity. |
|---|---|
| SecurityElites fix window | Within 7 days Critical severity. This is our suggestion from common practice; your own policy comes first. |
| Who should own the fix | Platform engineering or DevOps team managing Flowise deployments. |
| Likely effort | About 30 minutes: upgrade both flowise and flowise-components npm packages to version 3.1.3, run npm install, and restart Flowise. It may take longer if you have custom workflows or integrations that need testing. |
Questions to ask your team or supplier
- Does anyone outside your core team have permission to create or edit Flowise workflows, and do we need to give them that access?
- Have we checked our workflow audit logs for suspicious SQLite Record Manager node changes or workflow edits made by unexpected users before we upgraded?
Message you can forward to the owning team
Security notice: Flowise can run attacker code through SQLite Record Manager node settings (CVE-2026-69259)
Severity: Critical
SecurityElites Fix-First Score: 51 of 100
SecurityElites fix window: Within 7 days
Action: upgrade to flowise 3.1.3, flowise-components 3.1.3 or later.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2026-69259-flowise-can-run-attacker-code-through-sqlite-record-manager/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01690What is at stake in your AI setup
- Tools and systems connected to Flowise agents: an attacker could make them fetch, delete, or change data in those systems.
- Retrieval and training data: code running on Flowise could read and copy data used for model training or document retrieval.
- API keys for AI providers: an attacker could steal keys stored in Flowise configuration and use them to run expensive queries or access your models.
- Chat history and prompts: an attacker could read or modify past conversations and the instructions given to agents.
Who is exposed
- Teams running Flowise 3.1.2 or earlier with workflow editing access
- Self-hosted Flowise instances where internal users can build workflows
- Flowise deployments connected to production data or APIs
- Systems where Flowise runs with elevated privileges
Upgrades you need
| Software | Affected versions | Move to |
|---|---|---|
| flowise npm | Every version before 3.1.3 | 3.1.3 or later |
| flowise-components npm | Every version before 3.1.3 | 3.1.3 or later |
Am I affected?
Enter the version you run. Nothing you type is stored.
SecurityElites Developer Brief: the technical picture
| Is it being attacked | Working attack code is public, so expect attacks to follow |
|---|---|
| Where the attacker must be | Anywhere that can reach it over a network, including the internet if it is exposed |
| Account needed | An ordinary user account |
| Does a person have to do something | No. It works without anyone clicking or opening anything |
| How hard it is to do | Easy. It works reliably once the attacker can reach it |
| Risk of: data being read | High |
| Risk of: data or settings being changed | High |
| Risk of: the service being taken down | High |
| Can attackers automate it at scale | No, according to CISA. Each target needs manual work |
| How much control an attacker gains | Total control of the affected software, according to CISA |
Read from the official severity rating: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Kind of coding mistake
- CWE-94: code can be injected
If you cannot upgrade today
- Until you can upgrade, disable or remove all SQLite Record Manager nodes from active workflows if they are not essential.
- Restrict who can create or edit Flowise workflows to only trusted administrators. Remove workflow editing permissions from other users.
- Run Flowise with the minimum privileges needed: not as root or administrator. This limits what an attacker can do if they get code running.
Signs it may already have been used against you
- Check application logs and audit trails for unusual SQLite Record Manager node creation or modification, especially with additionalConfig changes
- Look for unexpected process execution, file writes, or network connections started from the Flowise process after a workflow run
- Review workflow definitions for SQLite Record Manager nodes with additionalConfig values that look like code or file paths outside the expected database directory
- Search for changes to workflows made by unexpected users or automated systems before the date you upgraded to version 3.1.3
SecurityElites Fix Guide: step by step
- Find where Flowise is installedCheck where your flowise and flowise-components npm packages are located. Run `npm list flowise` and `npm list flowise-components` to see the installed versions. Write down the version numbers shown.
- Check if you are affectedIf the version shown is 3.1.2 or earlier, your system is at risk. If it is 3.1.3 or later, it is already fixed but check the next steps to confirm.
- Back up your Flowise dataSave a copy of your Flowise database and any workflows you have built. This protects you if something goes wrong during the upgrade.
- Upgrade to the fixed versionIn the directory where Flowise is installed, run `npm install flowise@3.1.3` and `npm install flowise-components@3.1.3`. Wait for npm to finish downloading and installing the new code.
- Restart FlowiseStop the Flowise service or process. Start it again so it loads the new fixed code. Check that it starts without errors.
- Verify the fix is in placeRun `npm list flowise` and `npm list flowise-components` again and confirm both show version 3.1.3 or later.
- Review workflow accessCheck who has permission to create or edit workflows in Flowise. Remove access for anyone who should not have it. This reduces the risk of someone using this weakness to attack you.
- Check if workflows were changed before the fixReview your workflow history and audit logs for any unexpected changes made by users or tools before you upgraded. Look for new SQLite Record Manager nodes or changes to existing ones. If you find suspicious changes, disable those workflows and investigate whether they were used to run code.
How to confirm it is fixed: Run `npm list flowise flowise-components` and confirm both packages are at version 3.1.3 or later; also restart Flowise and confirm it starts without errors.
SecurityElites Quick Fixes: copy and paste
Upgrade flowise with npmupgrade
npm install flowise@3.1.3
npm ls flowiseUpgrade flowise-components with npmupgrade
npm install flowise-components@3.1.3
npm ls flowise-componentsCheck installed Flowise and flowise-components versionsfor this issue
npm list flowise flowise-componentsRun the service in a locked-down containergeneral hardening
docker run --read-only --cap-drop ALL \
--security-opt no-new-privileges --user 1000:1000 \
-p 127.0.0.1:8080:8080 YOUR_IMAGETest in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.
Let your AI coding assistant do the upgrade
Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.
Instruction for your coding assistant
You are helping me fix a security vulnerability (CVE-2026-69259) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n - flowise (npm): must be 3.1.3 or later
- flowise-components (npm): must be 3.1.3 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.SecurityElites Incident Drill: could your team handle this?
Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.
Ticket for your backlog
Paste into Jira, GitHub Issues or any tracker that reads Markdown.
Ready-made ticket
## Flowise can run attacker code through SQLite Record Manager node settings (CVE-2026-69259)
**Severity:** Critical | **SE Fix-First Score:** 51/100 | **Fix window:** Within 7 days
**Record:** SE-AIV-01690 https://securityelites.com/ai-vulnerabilities/cve-2026-69259-flowise-can-run-attacker-code-through-sqlite-record-manager/
### Why this matters
An attacker who can build or edit a Flowise workflow can run any code on the server where Flowise runs. They can steal data, change files, install malware, or take over the machine. Any account, data, or system that Flowise can reach is at risk.
### What to do
1. Find where Flowise is installed
2. Check if you are affected
3. Back up your Flowise data
4. Upgrade to the fixed version
5. Restart Flowise
6. Verify the fix is in place
7. Review workflow access
8. Check if workflows were changed before the fix
Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-69259-flowise-can-run-attacker-code-through-sqlite-record-manager/
### Done when
- [ ] flowise is at 3.1.3 or later everywhere it is installed
- [ ] flowise-components is at 3.1.3 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Run `npm list flowise flowise-components` and confirm both packages are at version 3.1.3 or later; also restart Flowise and confirm it starts without errors.
- [ ] Logs were checked for signs of earlier use
SecurityElites Fix Tracker
Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.
Related vulnerabilities
In the same software
- Flowise CSV and Airtable agents allow data theft via prompt injection Critical · CVE-2026-73487
- Flowise can run commands and read files outside its sandbox Critical · CVE-2026-119978
- Flowise OAuth2 token endpoint open to anyone, leaks access tokens Critical · CVE-2026-70478
- Flowise CSV Agent can run Python code sent by attackers Critical · CVE-2026-70477
- Flowise allows authenticated users to change other organizations' billing High · CVE-2026-70476
- Flowise allows any authenticated user to change execution records without permission check High · CVE-2026-70475
The same kind of mistake in other AI tools
- Langflow OSS allows arbitrary code execution through tool listing without admin check High · CVE-2026-128876
- Langflow OSS can run arbitrary code via tool-call interface before admin check High · CVE-2026-128867
- Langflow OSS allows remote code execution through improper code handling High · CVE-2026-127065
- Langflow OSS allows authenticated users to run arbitrary code High · CVE-2026-122088
- Langflow OSS allows authenticated users to run any command on the server High · CVE-2026-120601
Change history
- 4 Aug 2026: Made public
- 2 Dec 2026: Published
Official record
============================================================================= Security Advisory elttamTopic: Flowise RCE via SQLite Record Manager NodeModule: FlowiseAI/Flowise Disclosed: 24-Apr-2026 Credits: Alex Brown Affects: `FlowiseAI/Flowise 3.1.2`# I. BackgroundFlowise AI is an open-source, low-code platform for building AI applications—such as chatbots, workflows, and autonomous agents—through an intuitive drag-and-drop interface, minimising the need for extensive coding.Flowise allows users to connect to a local SQLite database for record management of Upsert Vector Store operations.# II. Problem DescriptionThe database path for the "SQLite Record Manager" node could be overridden using the `additionalConfig` input, as demonstrated in the following code snippet.[https://github.com/FlowiseAI/Flowise/blob/flowise-components@3.1.2/packages/components/nodes/recordmanager/SQLiteRecordManager/SQLiteRecordManager.ts](https://github.com/FlowiseAI/Flowise/blob/flowise-components%403.1.2/packages/components/nodes/recordmanager/SQLiteRecordManager/SQLiteRecordManager.ts) ```ts class SQLiteRecordManager_RecordManager implements INode { ... async init(nodeData: INodeData, _: string, options: ICommonObject): Promise<any> { const _tableName = nodeData.inputs?.tableName as string const tableName = _tableName ? _tableName : 'upsertion_records' const additionalConfig = nodeData.inputs?.additionalConfig as string <1> const _namespace = nodeData.inputs?.namespace as string const namespace = _namespace ? _namespace : options.chatflowid const cleanup = nodeData.inputs?.cleanup as string const _sourceIdKey = nodeData.inputs?.sourceIdKey as string const sourceIdKey = _sourceIdKey ? _sourceIdKey : 'source'let additionalConfiguration = {} if (additionalConfig) { try { additionalConfiguration = typeof additionalConfig === 'object' ? additionalConfig : JSON.parse(additionalConfig) } catch (exception) { throw new Error('Invalid JSON in the Additional Configuration: ' + exception) } }const database = path.join(process.env.DATABASE_PATH ?? path.join(getUserHome(), '.flowise'), 'database.sqlite') <2>const sqliteOptions = { database, ...additionalConfiguration, <3> type: 'sqlite' }const args = { sqliteOptions, tableName: tableName }const recordManager = new SQLiteRecordManager(namespace, args);(recordManager as any).cleanup = cleanup ;(recordManager as any).sourceIdKey = sourceIdKeyreturn recordManager } } ``` <1> The `additionalConfig` input was user controllable.<2> The intended SQLite database path.<3> Keyword argument expansion of the `additionalConfiguration` variable after the `database` variable, which allows overwriting the preceding `database` setting.An attacker could abuse this weakness to write an SQLite database to an arbitrary filepath, which includes system directories since the [`flowiseai/flowise:3.1.2`](https://hub.docker.com/layers/flowiseai/flowise/3.1.2/images/sha256-ddba104d8e50fbc1e72c6fe021d012be83e66d78d26816e1a6a3fddab4212eff) Docker image runs as `root`.However, unlike the [Flowise RCE via SQL Database Chain Node vulnerability](https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-pwfj-wh95-7mwp), the executed SQL query was not user controllable and the `tableName` input was validated to match the `/^[a-zA-Z0-9_]+$/` regex pattern, as shown in the following code snippet.[https://github.com/FlowiseAI/Flowise/blob/flowise-components@3.1.2/packages/components/nodes/recordmanager/SQLiteRecordManager/SQLiteRecordManager.
Weakness type: CWE-94
Use this record in your own tools
Get this record as JSON
curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-69259For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker
The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 2 Dec 2026. Read the vendor advisory before changing a production system.