Flowise chatflow can be hijacked through unguarded configuration override

HighSE Fix-First Score 43/100CVE-2026-69258SE-AIV-01615Prompt injection and model manipulationAI apps and chat interfacesMade public 4 Aug 2026

Download as PDF

What this means

An attacker can inject malicious settings into any public chatflow without logging in. They can steal session data from other users, modify chat history, inject fake responses, or manipulate variables that flow nodes read and act on. Depending on what the flow does (send emails, call APIs, fetch data), an attacker could make it do those actions on their behalf.

SecurityElites Manager Brief: the decision in one minute

Flowise allows anyone to send crafted requests to public chatflows and override internal settings that should be locked down. An attacker can hijack sessions, read other users' chat history, or make the flow execute attacker-controlled actions. Update to version 3.1.3 immediately.

SecurityElites Fix-First Score43 of 100
Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity.
SecurityElites fix windowWithin 30 days
High severity. This is our suggestion from common practice; your own policy comes first.
Who should own the fixPlatform or infrastructure team that manages Flowise deployment.
Likely effortAbout 15 minutes: update the npm package to version 3.1.3 and restart the service. Effort could be longer if you run multiple instances or have a complex deployment.

Questions to ask your team or supplier

  • Are all our public chatflows expected to be unauthenticated, and do they handle any sensitive data or trigger important actions?
  • Do we have logs of chat sessions and API calls to this endpoint from before the update, and have we reviewed them for signs of abuse?

Message you can forward to the owning team

Security notice: Flowise chatflow can be hijacked through unguarded configuration override (CVE-2026-69258)

Severity: High
SecurityElites Fix-First Score: 43 of 100
SecurityElites fix window: Within 30 days
Action: upgrade to flowise 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-69258-flowise-chatflow-can-be-hijacked-through-unguarded-configuration-override/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01615

What is at stake in your AI setup

  • Chat history: attackers can read previous conversations from other users or sessions.
  • Prompts and $flow.* variables: attackers can inject malicious values that change how the AI responds or what data it retrieves.
  • Tools and external systems the flow connects to: attackers can make the flow call APIs, send emails, or fetch data on their behalf.
  • Compute and API provider costs: attackers can trigger expensive operations or high-volume API calls that increase your bill.

Map where your company uses AI

Who is exposed

  • Teams running Flowise with public chatflows (unauthenticated access enabled).
  • Any chatflow that uses $flow.* template variables or passes user input to downstream services.
  • Deployments where multiple users share the same Flowise instance and sessions.

Upgrades you need

SoftwareAffected versionsMove to
flowise
npm
Every version before 3.1.33.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 attackedWorking attack code is public, so expect attacks to follow
Where the attacker must beAnywhere that can reach it over a network, including the internet if it is exposed
Account neededNone. No login is needed
Does a person have to do somethingNo. It works without anyone clicking or opening anything
How hard it is to doEasy. It works reliably once the attacker can reach it
Risk of: data being readLimited
Risk of: data or settings being changedHigh
Risk of: the service being taken downNone
Can attackers automate it at scaleYes, according to CISA
How much control an attacker gainsPartial control, according to CISA

Read from the official severity rating: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N

Kind of coding mistake

  • CWE-639: another user's data can be reached by changing an identifier
  • CWE-915

Where it sits in the standards

OWASP Top 10 for LLM Applications 2025: LLM01 Prompt Injection

If you cannot upgrade today

  • Temporarily disable public access to chatflows by requiring authentication, moving Flowise behind a login page, or restricting the IP addresses that can reach the endpoint.
  • Review and limit what your chatflow nodes can do (disable nodes that send emails, call external APIs, or modify data) until you can upgrade.

Signs it may already have been used against you

  • Chat sessions with mismatched user identities or sessions that contain messages from multiple users.
  • Chat history that appears altered or contains messages the user did not send, especially with unusual $flow.* template variable values.
  • API calls or actions triggered from a chatflow that do not match the legitimate user's input or intent.
  • Logs from the POST /api/v1/prediction/:id endpoint showing requests with large or unexpected overrideConfig payloads in the request body.

Log searches to start from

POST requests to prediction endpoint with overrideConfig in body (adapt field names to your logs)Elastic

method:POST path:*prediction* body:*overrideConfig* | stats count by source_ip, timestamp

Written with AI as a starting point. Review them and change the index and field names to match your own logs before you rely on the result.

SecurityElites Fix Guide: step by step

  1. Find where Flowise is installedCheck your package.json file or npm list output to confirm Flowise and its current version. Note the installation path and how it is started.
  2. Check the current versionRun `npm list flowise` in the installation directory or check the version field in package.json. If the version is below 3.1.3, you are at risk.
  3. Back up your data and configurationExport or copy your chatflow definitions, API keys, and any stored chat history. This protects you if something goes wrong during the update.
  4. Update Flowise to version 3.1.3 or laterRun the upgrade command for your package manager (npm, yarn, or docker, depending on how you installed Flowise) to bring it to 3.1.3 or the latest version.
  5. Restart the Flowise serviceStop and start the Flowise process or container to apply the update. Check that it starts without errors and that your chatflows load normally.
  6. Verify the fix is in placeRun `npm list flowise` again and confirm the version is 3.1.3 or later. The service should be running and responding to requests.
  7. Review recent chat logs for signs of abuseCheck chat history and session logs for the period before the update. Look for unusual messages, sessions with mismatched users, or unexpected data in the $flow variables.
  8. Review and restrict public chatflow access if neededDecide whether public chatflows should remain unauthenticated. If they handle sensitive data or trigger important actions, consider requiring authentication or IP-based access control.

How to confirm it is fixed: Run `npm list flowise` and confirm the version is 3.1.3 or later; the service must start without errors and respond normally to legitimate chatflow requests.

SecurityElites Quick Fixes: copy and paste

Upgrade flowise with npmupgrade

npm install flowise@3.1.3
npm ls flowise

Check installed Flowise versionfor this issue

npm list flowise

Test 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-69258) 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
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.

What is the main risk of this vulnerability, and who does it affect first?A good answer: Unauthenticated attackers can inject settings into public chatflows to hijack sessions, steal chat history, or manipulate flow behavior; teams running public chatflows are at highest risk.
What version of Flowise fixes this, and how do we confirm we have it?A good answer: Version 3.1.3 and later fix it; run npm list flowise and check the version number.
What should we look for in chat logs to see if this was exploited?A good answer: Chat history with messages from unexpected users, sessions with mismatched identities, or $flow.* variable values that do not match legitimate inputs.
If we cannot update immediately, what should we do?A good answer: Require authentication for chatflows, restrict access by IP address, or disable flow nodes that can trigger external actions or access sensitive data.

Run a full timed drill with your team

Ticket for your backlog

Paste into Jira, GitHub Issues or any tracker that reads Markdown.

Ready-made ticket

## Flowise chatflow can be hijacked through unguarded configuration override (CVE-2026-69258)

**Severity:** High  |  **SE Fix-First Score:** 43/100  |  **Fix window:** Within 30 days
**Record:** SE-AIV-01615 https://securityelites.com/ai-vulnerabilities/cve-2026-69258-flowise-chatflow-can-be-hijacked-through-unguarded-configuration-override/

### Why this matters
An attacker can inject malicious settings into any public chatflow without logging in. They can steal session data from other users, modify chat history, inject fake responses, or manipulate variables that flow nodes read and act on. Depending on what the flow does (send emails, call APIs, fetch data), an attacker could make it do those actions on their behalf.

### What to do
1. Find where Flowise is installed
2. Check the current version
3. Back up your data and configuration
4. Update Flowise to version 3.1.3 or later
5. Restart the Flowise service
6. Verify the fix is in place
7. Review recent chat logs for signs of abuse
8. Review and restrict public chatflow access if needed

Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-69258-flowise-chatflow-can-be-hijacked-through-unguarded-configuration-override/

### Done when
- [ ] flowise is at 3.1.3 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Run `npm list flowise` and confirm the version is 3.1.3 or later; the service must start without errors and respond normally to legitimate chatflow requests.
- [ ] 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.

Sign in to track this fix

Change history

  • 4 Aug 2026: Made public
  • 2 Dec 2026: Published

Official record

#### SummaryThe `POST /api/v1/prediction/:id` endpoint — which is unauthenticated (whitelisted in `WHITELIST_URLS`) — accepts an `overrideConfig` object in the request body. This object is unconditionally spread into the internal `flowConfig` and `flowData` objects at two locations in the codebase **without checking** `apiOverrideStatus`. This allows an unauthenticated attacker to inject arbitrary properties into the flow execution context of any public chatflow, enabling session hijacking, cross-session data pollution, chat history manipulation, and injection of attacker-controlled values into `$flow.*` template variables consumed by flow nodes.This is distinct from the previously reported `overrideConfig` vulnerability (GHSA-5cph-wvm9-45gj), which addressed overrideConfig's ability to modify **node input parameters** via `replaceInputsWithConfig()`. That function is properly gated behind `apiOverrideStatus`. The vulnerability reported here is in two **separate, ungated spread operations** that were not addressed by the GHSA-5cph fix.#### Root CauseIn `packages/server/src/utils/buildChatflow.ts` at lines 557–564, the `incomingInput.overrideConfig` object is spread directly into `flowConfig` with no gating:```typescript // File: packages/server/src/utils/buildChatflow.ts, lines 557-564 const flowConfig: IFlowConfig = { chatflowid, chatflowId: chatflow.id, chatId, sessionId, chatHistory, apiMessageId, ...incomingInput.overrideConfig // <-- UNGATED: always applied, no apiOverrideStatus check } ```A second ungated spread exists in `packages/server/src/utils/index.ts` at lines 569–574:```typescript // File: packages/server/src/utils/index.ts, lines 569-574 const flowData: ICommonObject = { chatflowid, chatId, sessionId, chatHistory, ...overrideConfig // <-- UNGATED: always applied, no apiOverrideStatus check } ```**Internal inconsistency:** The node parameter override mechanism at `buildChatflow.ts:180` and `index.ts:589` IS correctly gated:```typescript // File: packages/server/src/utils/buildChatflow.ts, line 180 if (incomingInput.overrideConfig && apiOverrideStatus) { // <-- Properly gated nodeToExecute.data = replaceInputsWithConfig(...) } ```This demonstrates that the developers intended for `overrideConfig` processing to be gated behind `apiOverrideStatus`, but the `flowConfig` and `flowData` spreads were missed.#### ExploitationThe `flowConfig` object is consumed by the `$flow.*` template variable resolution system at `packages/server/src/utils/index.ts:932-936`:```typescript // File: packages/server/src/utils/index.ts, lines 932-936 if (variableFullPath.startsWith('$flow.') && flowConfig) { const variableValue = get(flowConfig, variableFullPath.replace('$flow.', '')) if (variableValue != null) { variableDict[`{{${variableFullPath}}}`] = variableValue returnVal = returnVal.split(`{{${variableFullPath}}}`).join(variableValue) } } ```And identically in `packages/server/src/utils/buildAgentflow.ts:346-351`.This means any attacker-injected property in `overrideConfig` becomes accessible as a `$flow.*` variable and will be substituted into any node template that references it. The `get()` function (lodash `get`) supports nested property access, so deep object injection is possible.#### Concrete Attack Scenarios**1. Session Hijacking via `chatId` Overwrite:**An attacker sends a prediction request with `overrideConfig: { "chatId": "<victim-chat-id>" }`. Since `chatId` in `flowConfig` controls which conversation session is used for memory retrieval and storage, the attacker's messages and responses will be written to the victim's session. If the chatflow uses conversation memory (e.g., BufferMemory, ZepMemory), the attacker can: - Read the victim's prior conversation history (returned as context to the LLM) - Inject messages into the victim's conversation that will appear in subsequent interactions**2. Chat Histo

Weakness type: CWE-639, CWE-915

Use this record in your own tools

Get this record as JSON

curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-69258

For 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.