Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege database user
-
DeliveryCreate collection with crafted URL-encoded name
-
ExploitDump filename truncates, names collide
-
ExecutionOperator runs authorized directory restore
-
ImpactDocuments redirected, omitted, or replaced via --drop
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Four concrete prerequisites must all hold: (1) a low-privileged but authenticated database user able to create and populate a collection with a crafted URL-encoded name; (2) the dump filename for that collection must be truncated so mongorestore re-reads and URL-decodes the original name from metadata; (3) both the crafted and original collection names must resolve to the same destination after decoding; and (4) an operator must subsequently perform an authorized directory-based restore with write access to the destination. Limiting factors that reduce real-world risk: the attacker cannot act alone and depends on an operator-initiated restore (UI:P), needs authenticated low-privilege access (PR:L), and relies on the specific truncation/collision condition (AT:P). Impact is amplified when the operator uses --drop. Affected: MongoDB Database Tools 100.0.2 through before 100.20.1 (fixed in 100.20.1). |
| Impact | This is a genuinely low-priority issue, and the signals are consistent rather than conflicting. The vendor-supplied CVSS 4.0 base score is 2.1 (Low) with vector AV:N/AC:L/AT:P/PR:L/UI:P and impact limited to VI:L/VA:L (no confidentiality, no subsequent-system impact), and the vuln.today decision label is 'monitor'. There is no CISA KEV listing, no EPSS figure was supplied, and the only reference is the project CHANGELOG - not a proof-of-concept - so exploitation status is 'no public exploit identified at time of analysis'. The AT:P and UI:P metrics reflect that the attacker cannot complete the attack alone: success depends on a separate operator-initiated restore plus a specific filename-truncation and name-collision condition. My independent read agrees with the vendor that impact is integrity/availability, not disclosure, despite the 'Information Disclosure' tag (CVSS shows VC:N). Net: a real but narrow data-integrity defect worth patching on a normal maintenance cycle, not an emergency. |
| Exploit ScenarioDerived | A low-privileged database user creates and populates a collection whose name is URL-encoded so that, after the dump filename is truncated, it decodes to collide with a collection the user cannot modify directly. When an operator later runs an authorized directory-based mongorestore with write access to that destination, the attacker's documents are written into the privileged collection (or legitimately backed-up documents are silently omitted); using --drop can replace the unintended destination collection entirely. No public exploit code exists - the only reference is the vendor CHANGELOG. |
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 can redirect restored documents into a different collection when a truncated dump filename causes the tool to URL-decode the original collection name from metadata, with colliding names potentially omitting backed-up documents or, when --drop is used, replacing the unintended destination. The issue affects versions 100.0.2 through before 100.20.1 and requires an authenticated low-privileged database user who can create a crafted collection plus a later operator-initiated directory restore with write access to the destination. The vendor released 100.20.1 as the fix; no public exploit identified at time of analysis.
RemediationAI
Upgrade MongoDB Database Tools to 100.20.1 or later (vendor-released patch: 100.20.1), as documented in the MongoDB changelog at https://github.com/mongodb/mongo-tools/blob/master/CHANGELOG.md. Because exploitation depends on an operator-initiated directory restore and is amplified by --drop, reduce exposure until the upgrade is deployed by restoring only dumps from trusted sources and by avoiding --drop when restoring dumps that may contain crafted collection metadata; avoiding --drop prevents replacement of an unintended destination but can leave existing collections in place and require manual cleanup, while restricting restores to trusted dumps may limit legitimate restore workflows.
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 includes mongorestore, which reconstructs collections and documents from a directory dump. In this case, the dump metadata carries an original collection name, and a truncated dump filename causes mongorestore to fall back to that metadata and URL-decode it again; the double-decoding class matches CWE-174. If the encoded name and the destination collection name resolve to the same restored namespace, documents can be written into a collection the creating user cannot modify directly, and --drop can replace that unintended destination. The supplied sources do not describe the exact truncation length or filename-encoding details; the behavior depends on the specific truncation and collection-name collision conditions and on an operator later performing an authorized directory restore. The affected CPE is cpe:2.3:a:mongodb:database_tools:*:*:*:*:*:*:*:*.
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:P/PR:L/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
A remote low-privilege DB user (PR:L) can act, but success needs an operator restore (UI:R) and a specific truncation/collision condition (AC:H); impact is misrouted/omitted data (I:L) and possible drop-replacement (A:L), no confidentiality.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
MongoDB Database Tools mongorestore incorrectly URL-decodes an original collection name read from metadata when the corresponding dump filename has been truncated. A database user who can create and populate a suitably encoded collection can cause a later authorized directory restore to write those documents into a different collection that the user cannot modify directly. When both collection names resolve to the same destination, backed-up documents may be omitted; use of --drop can also replace the unintended destination collection. Exploitation requires an operator to restore the affected collection from a directory dump with write access to the destination. This issue affects MongoDB Database Tools versions 100.0.2 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
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
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-116031
NVD
CVE.org
Vulnrichment
GitHub
Exploit-DB