Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify MongoDB deployment using QE/CSFLE
-
DeliveryGain server-side read access or traffic visibility
-
ExploitApplication issues $vectorSearch with encrypted field filter
-
ExecutionClient analyzer fails to encrypt literals
-
PersistPlaintext values reach server logs/oplog/storage
-
ImpactHarvest cleartext sensitive field values
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V12 - Secure Communication Transport encryption
|
| Exploitation Conditions | Exploitation requires that the target deployment uses MongoDB Queryable Encryption or Client-Side Field Level Encryption AND that applications issue $vectorSearch aggregation stages whose filter expressions reference encrypted fields with literal values - deployments not using QE/CSFLE, or using QE/CSFLE without $vectorSearch, are not affected. The attacker must additionally have some form of server-side visibility (compromised server, malicious DBA/hosting operator, access to network traffic between client and server, or access to backups/oplog) to read the leaked plaintext, since the bug exposes data at the server-facing boundary rather than to arbitrary internet attackers; the CVSS PR:L reflects that an authenticated low-privilege role with server-side read is sufficient. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N) indicates a network-reachable, low-complexity issue requiring an authenticated low-privilege actor and yielding high confidentiality impact with no integrity or availability effect - consistent with an information disclosure that exposes encrypted data values. EPSS and KEV signals are not provided in the input, and no POC reference is included, so real-world exploitation pressure appears low; the realistic risk is primarily passive exposure of plaintext data to anyone with server-side visibility (DBAs, hosting providers, attackers who breach the server) rather than active remote exploitation. Note an interpretation caveat: the vector lists PR:L, but the exposure is essentially driven by any client legitimately issuing $vectorSearch with QE/CSFLE - the 'attacker' may simply be a passive observer of server-side data rather than an active adversary, so prioritization should be based on whether QE/CSFLE+$vectorSearch is actually used in the environment. |
| Exploit ScenarioDerived | An insider with read access to the MongoDB server, a hosting-provider operator, or an attacker who has compromised the database host observes oplog entries, server logs, network captures, or on-disk storage and harvests the plaintext literals from $vectorSearch filter expressions that the application believed were encrypted. No public exploit identified at time of analysis; exploitation is opportunistic and observational rather than requiring a crafted payload, with attack complexity equivalent to reading data the attacker already has access to on the server side. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 09, 2026
Sensitive information disclosure in MongoDB Server affects deployments using Queryable Encryption (QE) or Client-Side Field Level Encryption (CSFLE) when issuing $vectorSearch aggregation queries. Due to a flaw in client-side query analysis, literal values intended for encrypted fields inside $vectorSearch filter expressions are transmitted to the server as plaintext instead of ciphertext, defeating the confidentiality guarantee of client-side encryption. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.
Earlier versions of this analysis (2)
Sensitive data leakage in MongoDB Server affects deployments using Queryable Encryption (QE) or Client-Side Field Level Encryption (CSFLE) when the $vectorSearch aggregation stage is used. The query analysis logic fails to encrypt literal values for encrypted fields embedded in $vectorSearch filter expressions, causing them to be transmitted to the server as plaintext rather than ciphertext, defeating the confidentiality guarantee of client-side encryption. No public exploit identified at time of analysis, and the issue was self-reported by MongoDB.
Cleartext exposure of encrypted field values in MongoDB Server occurs when literal values for Queryable Encryption (QE) or Client-Side Field Level Encryption (CSFLE) protected fields are used inside $vectorSearch aggregation stage filter expressions. A bug in query analysis processing causes these values to bypass client-side encryption and be transmitted to the server as plaintext, directly undermining the confidentiality guarantees that QE and CSFLE are designed to provide. Authenticated remote attackers - or a compromised/malicious MongoDB server, DBA, or network observer with access to wire protocol traffic - could intercept or observe sensitive field values that the application intended to keep encrypted end-to-end. No public exploit code exists and the vulnerability is not listed in CISA KEV at time of analysis.
RemediationAI
Patch availability per vendor advisory is referenced through MongoDB ticket SERVER-123507 (https://jira.mongodb.org/browse/SERVER-123507); operators should upgrade MongoDB Server, the MongoDB drivers, and the crypt_shared / mongocryptd query analyzer to the fixed versions listed in that advisory once published - no exact fix version is enumerated in the provided input. As a compensating control until patched, avoid issuing $vectorSearch aggregation stages against collections that contain QE/CSFLE-encrypted fields, or rewrite vector search filters so they reference only non-encrypted fields (trade-off: loses the ability to filter vector results by encrypted attributes). Operators handling previously transmitted data should also rotate any field values that may have been sent in cleartext and audit server logs, oplog, and backups for residual plaintext, since cleartext that has reached storage cannot be retroactively re-encrypted by client upgrades alone.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MongoDB's Queryable Encryption and Client-Side Field Level Encryption are designed so that sensitive field values are encrypted on the client before transmission, ensuring the database server only handles ciphertext. The bug lives in the client driver / mongocryptd query analysis path that decides which literals in an aggregation pipeline need to be replaced with their encrypted equivalents. For the $vectorSearch stage - used for similarity search over vector embeddings - the analyzer fails to recognize literal values inside filter expressions as belonging to encrypted fields, so those values bypass encryption and reach the server in cleartext, matching the root cause class described in CWE-319 (Cleartext Transmission of Sensitive Information). The affected component per the CPE is mongodb:mongodb_server, though the defect is fundamentally in the encryption-aware query processing tied to QE/CSFLE.
Know when MongoDB gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (mongodb) · only source for this CVE.
CVSS VectorVendor: mongodb
Lifecycle Timeline
5DescriptionCVE.org
A bug in query analysis processing of the $vectorSearch aggregation stage for Queryable Encryption (QE) or Client-Side Field Level Encryption (CSFLE) results in literal values for encrypted fields within the $vectorSearch stage filter expressions to be sent to the server as plaintext instead of ciphertext.
Executive ViewAI
MongoDB Server's Queryable Encryption and Client-Side Field Level Encryption are compromised in deployments using $vectorSearch queries, causing encrypted data to be transmitted as plaintext to the server. This breaks the security guarantee organizations rely on for protecting sensitive information in motion. All MongoDB customers using these encryption features require immediate visibility into their exposure.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable $vectorSearch aggregation queries on encrypted field collections until patch availability; (2) Restrict database network access to applications requiring encryption functionality only; (3) Enable comprehensive MongoDB audit logging to track and review all $vectorSearch queries against encrypted collections; (4) Implement application-layer controls to prevent $vectorSearch queries from reaching encrypted fields; (5) Conduct data exposure assessment via log and network traffic review to confirm whether plaintext transmission of sensitive values has occurred.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
EUVD-2026-35859
GHSA-jp8p-fq38-v738
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB