Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAcquire monitoring-role credentials
-
DeliveryAuthenticate to target MongoDB instance
-
ExploitPoll diagnostic interface via $currentOp
-
InstallTime poll to overlap concurrent admin credential operation
-
C2Capture cleartext credentials from diagnostic output
-
ExecuteAuthenticate as privileged account
-
ImpactFull database compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V6 - Authentication Credential protection in transit/storage
|
| Exploitation Conditions | Exploitation requires a valid authenticated session with at minimum monitoring-level permissions on the MongoDB instance (e.g., the built-in clusterMonitor role or any custom role granting the inprog privilege). Additionally, a qualifying administrative operation handling credential material must be executing concurrently at the time the diagnostic query is issued; if no such operation is in progress, no sensitive credential data is present in the diagnostic stream. This timing dependency is the primary practical constraint. There is no requirement for a non-default configuration - the diagnostic interface is a standard MongoDB facility available in all deployments. The vulnerability does not affect read-only or application-level database users; only accounts granted explicit monitoring or administrative roles are relevant. Exploitation is limited to the versions listed (7.0.0-7.0.40, 8.0.0-8.0.29, 8.3.0-8.3.8); deployments running patched releases or MongoDB 6.x and earlier are not in scope per available data. |
| Impact | The CVSS 4.0 base score of 7.1 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H) reflects network-accessible exploitation by a low-privilege authenticated user with no user interaction required and high confidentiality impact. The real-world exploitation window is constrained by a concurrency requirement - credentials are only visible in the diagnostic output while a qualifying administrative operation is simultaneously executing - which the vendor's AT:N metric does not fully capture and which effectively raises practical attack complexity. There is no CISA KEV listing and no public exploit code identified at time of analysis; EPSS data is not provided in the source intelligence. The credential exposure outcome is severe: captured cleartext credentials enable direct impersonation of administrative accounts, potentially granting full database control. For any organization where the MongoDB monitoring role is granted to partially-trusted users, contractors, or shared service accounts - even a mid-sized municipal IT team in tczew running a shared monitoring stack should treat this as urgent - the risk exceeds what the raw 7.1 score implies, because privilege escalation to admin is the realistic downstream impact. The inconsistency between log redaction and diagnostic-interface redaction suggests a code-path coverage gap rather than a design flaw, which may mean the fix is straightforward and the patch should be adopted promptly. |
| Exploit ScenarioDerived | An attacker who has obtained a valid MongoDB session with monitoring-level privileges - either through credential theft, a compromised monitoring service account, or insider access - issues repeated $currentOp or db.currentOp() queries against the diagnostic interface while an administrator concurrently runs a privileged operation such as db.createUser() or db.updateUser(). The diagnostic output returns the unredacted credential material for that operation, which the attacker captures and uses to authenticate directly as the administrative user, achieving full database control. No public exploit code exists at time of analysis, but the attack is conceptually straightforward for any operator familiar with MongoDB's diagnostic API. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
MongoDB Server's diagnostic reporting interface exposes cleartext credentials from in-flight administrative operations to any authenticated user holding monitoring-level privileges, creating a lateral-movement and privilege-escalation path via impersonation of higher-privileged accounts. Affected versions span the 7.0.x branch (before 7.0.41), 8.0.x branch (before 8.0.30), and 8.3.x branch (before 8.3.9). The server's log subsystem correctly redacts credential material, but an equivalent sanitization pass is absent from the diagnostic interface's serialization path, producing an inconsistent security boundary across two observability outputs for the same underlying data.
RemediationAI
Upgrade MongoDB Server to a patched release: 7.0.41 or later for the 7.0.x branch, 8.0.30 or later for the 8.0.x branch, or 8.3.9 or later for the 8.3.x branch, per the vendor's JIRA ticket at https://jira.mongodb.org/browse/SERVER-131423. The vendor advisory confirms a patch is available. Where an immediate upgrade is not feasible, reduce the blast radius by auditing and restricting which accounts hold the monitoring role (clusterMonitor, backup, or custom monitoring-scoped roles) to the minimal set of fully trusted principals; revoking monitoring privileges from contractor accounts, shared service accounts, or any account with split loyalty eliminates the exploitation prerequisite. Note that revoking monitoring access may degrade observability tooling that relies on $currentOp or db.currentOp(). Network-layer controls (restricting access to the MongoDB port to known monitoring hosts only) reduce exposure but do not eliminate it if a monitoring host is compromised. No workaround fully substitutes for the patch.
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 Server (CPE: cpe:2.3:a:mongodb:mongodb_server) provides a real-time diagnostic reporting interface - most likely the $currentOp aggregation stage or the db.currentOp() command - intended to give operators visibility into in-flight database operations. Under CWE-522 (Insufficiently Protected Credentials), the root cause is an incomplete implementation of credential sanitization: the logging subsystem applies a redaction filter to sensitive fields before writing to disk, but the diagnostic interface's data-serialization path bypasses or lacks an equivalent filter. During concurrent administrative operations that carry credential material (such as user creation, authentication commands, or password-change operations), the unredacted credential data remains accessible in the diagnostic stream. The vulnerability exists in the MongoDB Server application layer across three supported major release branches, as identified by the CPE and EUVD affected-version ranges.
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
AC:H reflects the concurrency timing requirement; PR:L for monitoring-level authentication; C:H for cleartext credential disclosure; no integrity or availability impact.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
A security issue in MongoDB Server's diagnostic reporting interface allows an authenticated user with monitoring privileges to access insufficiently protected credentials from concurrent administrative operations. The same credentials are properly redacted in server log output, but the diagnostic interface omits equivalent redaction. Successful exploitation requires a valid authenticated session with monitoring-level permissions and results in exposure of cleartext credentials that could enable impersonation of other users, including privileged accounts.
Articles & Coverage 1
Executive ViewAI
A credentialing bypass in MongoDB's monitoring interface allows lower-privileged database users to extract plaintext credentials of senior administrators, creating a direct privilege-escalation and lateral-movement vector. Organizations running unpatched MongoDB versions 7.0-8.3 face risk of unauthorized administrative database access and account impersonation. The vulnerability exists because the diagnostic subsystem fails to redact credentials that the logging system properly obscures.
Apply vendor patch.
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-72914
GHSA-9cmh-gg2r-2fxr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB