Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft dump with 'system.buckets.'-prefixed collection name
-
DeliveryDeliver untrusted dump to a database operator
-
ExploitOperator runs mongorestore with user-management credentials
-
ExecutionBypass special-collection guards and namespace filters
-
ImpactCreate unauthorized attacker-chosen root-role account
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Incorrectly specified target
|
| Exploitation Conditions | Three concrete prerequisites must all hold: (1) an operator must restore an untrusted, attacker-controlled dump via mongorestore; (2) that restore must use credentials carrying user-management privileges on the destination deployment (otherwise the unauthorized account cannot be created); and (3) the tool must be a vulnerable version, 100.4.0 through any release before 100.20.1. The trigger is a crafted collection name exploiting inconsistent handling of the 'system.buckets.' prefix. Critical limiting/defeating factors: the attacker needs no privileges themselves but cannot act alone - a privileged operator action (user interaction) is required, and the data source must be untrusted. The description explicitly warns that excluding the admin namespace alone does NOT prevent the behavior, so that common hardening step is insufficient. The attack is local to the restore operation (not remotely reachable), which substantially narrows realistic exposure. |
| Impact | The signals point to a real but conditional, mid-tier issue rather than a drop-everything emergency. The vendor-supplied CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:N/UI:P, score 5.2 Medium) describes a local attack that requires a specific attack condition (AT:P) and passive user interaction (UI:P) - i.e. a privileged operator must restore attacker-supplied data. The vuln.today decision label is 'this_month' (not act_now/emergency), which is consistent with that moderate profile. There is no CISA KEV listing and no EPSS score in the input, so exploitation status is 'no public exploit identified at time of analysis' and real-world exploitation probability cannot be quantified from the data provided. The notable tension is impact versus reachability: the subsequent-system impact is maximal (SC:H/SI:H/SA:H - creation of a root-role database account fully compromises the destination deployment), yet the vulnerable-system metrics are all N and the preconditions are significant (local restore of untrusted data by an operator wielding user-management credentials). This is therefore a high-impact, low-likelihood, precondition-gated flaw rather than a widely-sprayable network exploit. Missing data to flag explicitly: no EPSS, no KEV, and no independent PoC - urgency rests on the vendor's own disclosure and the 'this_month' label, not on observed exploitation. |
| Exploit ScenarioDerived | An attacker prepares a malicious MongoDB dump containing a collection whose name abuses the 'system.buckets.' prefix so it slips past mongorestore's special-collection and operator namespace filters. A database operator, believing the dump is benign, restores it using credentials that hold user-management privileges on the destination deployment; the inconsistent name validation then causes an attacker-chosen account - potentially with the root role - to be created. No public exploit was identified in the input, and the attack depends on socially engineering a privileged operator into restoring untrusted data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 03, 2026
mongorestore in MongoDB Database Tools 100.4.0 through releases before 100.20.1 can be made to create an unauthorized, attacker-chosen database account - including one holding the root role - when an operator restores a crafted, untrusted dump. The root cause is inconsistent handling of the 'system.buckets.' prefix during collection-name validation, allowing a malicious collection name to slip past special-collection guards and operator namespace filters. The issue is not remotely or autonomously exploitable: the assessed vector is local (AV:L) with user interaction, and three prerequisites must all hold - an operator restores untrusted data, that restore runs with credentials carrying user-management privileges on the destination, and the tool version is vulnerable. No public exploit code was identified at time of analysis, and notably, excluding the admin namespace alone does not prevent the behavior.
RemediationAI
Vendor-released patch: upgrade MongoDB Database Tools to 100.20.1 or later, which is the first release outside the affected range per the vendor changelog at https://github.com/mongodb/mongo-tools/blob/master/CHANGELOG.md. Because the vendor explicitly warns that excluding the admin namespace alone does not prevent this behavior, that common filtering step should not be treated as a fix. The practical compensating control follows directly from the stated prerequisites: run mongorestore against production destinations with credentials that do not carry user-management privileges (no root or userAdmin/userAdminAnyDatabase), so a crafted dump cannot result in account creation - the trade-off is that legitimate restores of the users and roles collections will fail and must be performed separately under controlled conditions. As an additional guard, inspect or stage untrusted dumps before restoring them into a privileged deployment, for example restoring first into a throwaway deployment with a low-privilege account and reviewing the resulting namespaces for unexpected 'system.buckets.'-derived entries, at the cost of extra time and infrastructure. Updating the tools package is the only complete fix identified in the available sources.
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 Database Tools is the standalone suite (mongodump, mongorestore, mongoexport, etc.) used for backup and restore against MongoDB deployments; the affected component per the CPE (cpe:2.3:a:mongodb:database_tools) is the tools package rather than the server itself. Time-series collections are stored server-side in internal 'system.buckets.<name>' namespaces, which is why 'system.buckets.' is a reserved prefix that restore tooling must special-case. During a restore, mongorestore validates incoming collection names against guards for special/system collections and against operator-supplied namespace filters, but the provided sources state that the prefix is handled inconsistently across those checks - the name evaluated by one path is not the name that ends up used - so a deliberately malformed collection name can pass validation and later be materialized in a form the operator never authorized. This is classified CWE-706 (Use of Incorrectly-Resolved Name or Reference): the defect is a name-resolution mismatch, not a memory-safety bug, and the consequence is that restored content can land in namespaces outside the operator's intended scope, ultimately permitting creation of a database account, including one with the root role. The assessed CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H) reflects scope change and high confidentiality/integrity/availability impact on the destination deployment, while the vendor-supplied CVSS 4.0 vector (AT:P/UI:P, PR:N) encodes that the attacker supplies a preconditioning artifact (the crafted dump) and that a privileged human must actually run the restore. How precisely the crafted name is constructed is not described in the available sources.
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:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
Attacker needs no privileges but a privileged operator must restore the malicious local dump (UI:R, AV:L); created root account compromises the separate MongoDB deployment, so S:C with C/I/A:H.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
MongoDB Database Tools mongorestore inconsistently handles the system.buckets. prefix when validating collection names in an untrusted dump. A specially crafted collection name can bypass special-collection guards and operator namespace filters, causing a restore to create an unauthorized user-chosen database account, including an account with the root role. Exploitation requires an operator to restore unauthorized user-controlled data using credentials with sufficient user-management privileges on the destination deployment. Excluding the admin namespace alone does not prevent this behavior. This issue affects MongoDB Database Tools versions 100.4.0 through versions before 100.20.1.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
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
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
All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8
Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or
EUVD-2026-116026
GHSA-fg58-w2p8-9j7f
NVD
CVE.org
Vulnrichment
Exploit-DB