Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain monitoring role credentials
-
DeliveryConnect to mongos router on sharded cluster
-
ExploitExecute $queryStats aggregation
-
ExecutionRetrieve unredacted search query literals
-
ImpactHarvest sensitive data from other users' queries
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V14 - Data Protection Data removal before release
|
| Exploitation Conditions | Exploitation requires all of the following: (1) MongoDB Server version 8.3.0 through 8.3.8 specifically - versions outside this range are not affected; (2) sharded cluster deployment - the redaction bypass occurs in the mongos router serialization path and is not triggered in standalone or replica-set-only topologies; (3) the attacker holds the MongoDB monitoring privilege (e.g., clusterMonitor role or equivalent) - unauthenticated access is not sufficient; (4) the targeted operations must be search queries routed through the mongos. Limiting factors include the high-privilege prerequisite, the narrow version range (8.3.x only), and the requirement for sharded-cluster architecture, all of which substantially reduce the realistic attack surface relative to a raw CVSS network-accessible rating. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N) scores 5.1, accurately reflecting the elevated privilege prerequisite (PR:H - monitoring role) and the limited confidentiality impact (VC:L - partial query literal exposure only). This is not a zero-authentication network attack; exploitation is constrained to principals already granted the monitoring role, which in well-administered MongoDB deployments is restricted to operations personnel. The scope is further limited to MongoDB Server 8.3.x, a single minor release line released in 2025-2026, meaning older production clusters on 6.x or 7.x are unaffected. No public exploit code is known and the vulnerability is absent from CISA KEV, consistent with low-to-moderate real-world exploitation likelihood. The primary risk is insider threat or privilege-escalation chaining: an attacker who has compromised a monitoring account could harvest sensitive business data from query patterns of other users. Organizations with strict data-residency or PII-handling requirements (GDPR, HIPAA) should treat this as higher priority than the CVSS score alone suggests. |
| Exploit ScenarioDerived | An attacker who has obtained credentials for a MongoDB monitoring account - through phishing, credential reuse, or lateral movement - connects to the mongos router of a sharded cluster running MongoDB 8.3.0-8.3.8 and queries the $queryStats aggregation stage. Because search queries are not redacted before storage, the attacker retrieves the raw query literals submitted by other application users, potentially exposing PII, authentication tokens embedded in queries, or proprietary search terms. No public exploit code exists, but exploitation requires only standard MongoDB driver access and the monitoring role. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Query statistics serialization on the MongoDB sharded cluster router (mongos) fails to apply redaction to search query literals, exposing sensitive data to holders of the monitoring privilege. An improper conditional check in the serialization logic causes the redaction mechanism to be bypassed specifically for search queries transiting the router, leaving raw query text - which may contain PII, credentials embedded in queries, or proprietary data - stored and accessible via the queryStats interface. Affected versions are MongoDB Server 8.3.0 through 8.3.8; a fix is available in 8.3.9. No public exploit code has been identified and this vulnerability is not listed in CISA KEV.
RemediationAI
Upgrade to MongoDB Server 8.3.9 or later, which contains the vendor-released patch for this issue per SERVER-132835 (https://jira.mongodb.org/browse/SERVER-132835). If an immediate upgrade is not feasible, revoke the monitoring role from all principals who do not have a business need to inspect query statistics, reducing the pool of accounts that could access unredacted query text. As a secondary control, audit current grants of the built-in 'clusterMonitor' and equivalent monitoring roles and apply the principle of least privilege - be aware that removing monitoring access may impair observability tooling that relies on queryStats. No workaround eliminates the underlying redaction bypass without upgrading; access restriction is the only compensating control with meaningful impact.
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 query statistics framework (queryStats) collects and aggregates operation metrics, including query shapes, and exposes them through an administrative interface. In sharded cluster deployments, the router component (mongos) serializes these statistics before storage. CWE-212 (Improper Removal of Sensitive Information Before Storage or Transfer) identifies the root cause: a conditional check within the serialization path fails to invoke the redaction routine when the operation is a search query, as opposed to other query types. This means the literals present in search query predicates - values that should be replaced with redaction placeholders - are stored verbatim and later readable by any principal holding the built-in monitoring role. The affected CPE is cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:* with the version constraint narrowed by EUVD data to 8.3.0 through 8.3.8.
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:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Monitoring role required (PR:H); confidentiality limited to query literal exposure (C:L); no integrity or availability impact.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
A security issue in MongoDB Server's query statistics serialization on the router allows users with monitoring privileges to access unredacted search query text from other users' operations. An improper conditional check in the serialization logic causes the data redaction mechanism to be bypassed when processing search queries through the sharded cluster router. This results in sensitive query literals being stored and made accessible through the query statistics interface.
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-72913
GHSA-jx9c-hw48-grqc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB