CVE-2026-91937: Flowise: NoSQL injection exposes other users' chat history

HIGHPoC AVAILABLE
Published September 15, 2026
CISO Take

Flowise before 3.1.4 does not sanitize the overrideConfig.sessionId parameter in its MongoDBMemory node, so an unauthenticated attacker can send MongoDB operator objects through the prediction API and read chat history belonging to other users. Exploitation is trivial (network, low complexity, no privileges, CVSS 7.5), but the risk is confidentiality only, and the signals for mass exploitation are modest: EPSS is 0.0047 (top 61%), the CVE is not in CISA KEV, no public exploit or Nuclei template exists, and CISA SSVC rates it TRACK. The exposure matters most for internet-facing Flowise deployments that use MongoDB-backed memory with a shared collection, because chat histories often contain PII, credentials, internal documents and business context pasted by users. Upgrade to Flowise 3.1.4 or later now, and review whether any exposed chatflows use MongoDBMemory.

Sources:NVDEPSSGitHub Advisoryvulncheck.comATLASCISA SSVC

What is the risk?

Medium-to-high for exposed deployments, moderate overall. Exploitability is high (unauthenticated, network, low complexity) and impact is high on confidentiality only (C:H/I:N/A:N). Real-world likelihood is tempered by EPSS 0.0047, no KEV listing, no public exploit or scanner template, and SSVC TRACK. The condition is also narrow: it needs a chatflow using the MongoDBMemory node with a shared collection, and a prediction endpoint reachable by the attacker. Risk rises for multi-tenant or customer-facing chatbots where histories from different users sit in one collection.

How does the attack unfold?

Initial Access
Attacker finds an internet-facing Flowise prediction API endpoint that needs no authentication.
AML.T0049
Exploitation
Attacker submits a MongoDB operator object in overrideConfig.sessionId, which the MongoDBMemory node places into its query unsanitized (NoSQL injection).
AML.T0040
Collection
The injected query matches records across the shared collection and returns other users' chat history.
AML.T0036
Impact
Attacker harvests PII, credentials and business data from other users' conversations.
AML.T0085

What systems are affected?

PackageEcosystemVulnerable RangePatched
Flowisenpm—No patch

Do you use Flowise? You're affected.

How severe is it?

CVSS 3.1
7.5 / 10
EPSS
0.5%
chance of exploitation in 30 days
Higher than 41% of all CVEs
Exploitation Status
Exploit Available
Exploitation: MEDIUM
Sophistication
Trivial
Exploitation Confidence
medium
○Public PoC indexed (trickest/cve)
Composite signal derived from CISA KEV, VulnCheck KEV, CISA SSVC, EPSS, Metasploit, Exploit-DB, trickest/cve, Nuclei templates, and inthewild.io exploitation reports.

What is the attack surface?

AVACPRUISCIA
AVNetwork
ACLow
PRNone
UINone
SUnchanged
CHigh
INone
ANone

What should I do?

1 step
  1. 1) Upgrade Flowise to 3.1.4 or later (see GHSA-wpvf-4vfx-rgxm). 2) Until patched, remove or disable MongoDBMemory nodes in internet-facing chatflows, or switch to a memory backend that is not affected. 3) Restrict access to the prediction API with authentication (API keys), a reverse proxy allowlist or network segmentation, and do not expose Flowise directly to the internet. 4) Block or reject prediction requests where overrideConfig.sessionId is an object instead of a string, using WAF or gateway rules. 5) Isolate tenants by using separate collections or databases per tenant. 6) Detection: review API and MongoDB logs for sessionId values containing operator keys such as $ne, $gt, $regex or $where, and for unusually large chat history reads. 7) If exposure is suspected, treat stored conversations as compromised, rotate any secrets that appeared in chats, and assess breach-notification obligations.

What does CISA's SSVC say?

DecisionTrack
Exploitationnone
AutomatableYes
Technical Impactpartial

Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.

How is it classified?

Which compliance frameworks are affected?

This CVE is relevant to:

EU AI Act
Art. 15-Accuracy, robustness and cybersecurity
ISO 42001
A.7.4-Quality of data for AI systems
NIST AI RMF
MANAGE 2.3-Response to previously unknown risks and vulnerabilitiesMEASURE 2.7-AI system security and resilience evaluated
OWASP LLM Top 10
LLM02-Sensitive Information DisclosureLLM06-Excessive Agency

Frequently Asked Questions

What is CVE-2026-91937?

Flowise before 3.1.4 does not sanitize the overrideConfig.sessionId parameter in its MongoDBMemory node, so an unauthenticated attacker can send MongoDB operator objects through the prediction API and read chat history belonging to other users. Exploitation is trivial (network, low complexity, no privileges, CVSS 7.5), but the risk is confidentiality only, and the signals for mass exploitation are modest: EPSS is 0.0047 (top 61%), the CVE is not in CISA KEV, no public exploit or Nuclei template exists, and CISA SSVC rates it TRACK. The exposure matters most for internet-facing Flowise deployments that use MongoDB-backed memory with a shared collection, because chat histories often contain PII, credentials, internal documents and business context pasted by users. Upgrade to Flowise 3.1.4 or later now, and review whether any exposed chatflows use MongoDBMemory.

Is CVE-2026-91937 actively exploited?

Proof-of-concept exploit code is publicly available for CVE-2026-91937, increasing the risk of exploitation.

How to fix CVE-2026-91937?

1) Upgrade Flowise to 3.1.4 or later (see GHSA-wpvf-4vfx-rgxm). 2) Until patched, remove or disable MongoDBMemory nodes in internet-facing chatflows, or switch to a memory backend that is not affected. 3) Restrict access to the prediction API with authentication (API keys), a reverse proxy allowlist or network segmentation, and do not expose Flowise directly to the internet. 4) Block or reject prediction requests where overrideConfig.sessionId is an object instead of a string, using WAF or gateway rules. 5) Isolate tenants by using separate collections or databases per tenant. 6) Detection: review API and MongoDB logs for sessionId values containing operator keys such as $ne, $gt, $regex or $where, and for unusually large chat history reads. 7) If exposure is suspected, treat stored conversations as compromised, rotate any secrets that appeared in chats, and assess breach-notification obligations.

What systems are affected by CVE-2026-91937?

This vulnerability affects the following AI/ML architecture patterns: Agent frameworks, LLM chatbot platforms, Conversational memory stores, Low-code LLM workflow builders.

What is the CVSS score for CVE-2026-91937?

CVE-2026-91937 has a CVSS v3.1 base score of 7.5 (HIGH). The EPSS exploitation probability is 0.47%.

What is the AI security impact?

Affected AI Architectures

Agent frameworksLLM chatbot platformsConversational memory storesLow-code LLM workflow builders

MITRE ATLAS Techniques

AML.T0036Data from Information Repositories
AML.T0040AI Model Inference API Access
AML.T0049Exploit Public-Facing Application
AML.T0085Data from AI Services

Compliance Controls Affected

EU AI Act: Art. 15
ISO 42001: A.7.4
NIST AI RMF: MANAGE 2.3, MEASURE 2.7
OWASP LLM Top 10: LLM02, LLM06

What are the technical details?

Original Advisory

Flowise before 3.1.4 fails to sanitize the overrideConfig.sessionId parameter before using it in MongoDB queries within the MongoDBMemory node. Unauthenticated attackers can submit MongoDB operator objects through the prediction API to read chat history records belonging to other users from the shared collection.

Exploitation Scenario

An attacker finds a public Flowise instance running a customer-support chatbot with MongoDBMemory. They send a prediction API request with overrideConfig.sessionId set to a MongoDB operator object such as {"$ne": "x"} instead of a string. The unsanitized value goes into the MongoDB query, which returns chat history records for every session in the shared collection, and the history is fed back to the attacker in the model's context or response. By repeating the request with regex or range operators, the attacker enumerates and harvests other customers' conversations, extracting PII, internal data and any credentials users pasted into the chat.

Weaknesses (CWE)

CWE-943 — Improper Neutralization of Special Elements in Data Query Logic: The product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query.

Source: MITRE CWE corpus.

CVSS Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Timeline

Published
September 15, 2026
Last Modified
September 23, 2026
First Seen
September 15, 2026

Related Vulnerabilities