Description
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.
Published: 2026-11-03
Score: 2.1 Low
EPSS: n/a
KEV: No
Impact: Data Integrity/Availability
Action: Patch
AI Analysis

Impact

mongorestore incorrectly URL‑decodes a collection name read from metadata when the corresponding dump filename has been truncated. This flaw causes an administrator who restores a dump to write documents into an unintended collection, potentially dropping or overwriting backed‑up documents when a drop option is used. The primary impact is loss or corruption of data integrity and availability, rather than remote code execution or privilege escalation.

Affected Systems

MongoDB Database Tools versions 100.0.2 through 100.20.1 are vulnerable. The issue resides in the mongorestore utility and affects any environment that performs directory restores using those tool versions.

Risk and Exploitability

The CVSS score of 2.1 indicates a low severity. EPSS data is not available and the vulnerability is not listed in CISA KEV. Exploitation requires that the attacker can create and populate a collection with an encoded name and that an operator subsequently performs a directory restore with write access to the destination. Therefore the attack vector is inferred to be an authorized restoration process; the scope is limited to the database user who can initiate the restore, making exploitation unlikely in uncontrolled environments.

Generated by OpenCVE AI on November 3, 2026 at 18:47 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MongoDB Database Tools to version 100.20.1 or later
  • Validate that dump filenames exactly match intended collection names prior to restore
  • Restrict restore role permissions to write only to the desired collections

Generated by OpenCVE AI on November 3, 2026 at 18:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 03 Nov 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 03 Nov 2026 18:15:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb database Tools
Vendors & Products Mongodb
Mongodb database Tools

Tue, 03 Nov 2026 16:30:00 +0000

Type Values Removed Values Added
Description 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.
Title mongorestore may restore encoded collection names into an unintended collection
Weaknesses CWE-174
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:L'}

cvssV4_0

{'score': 2.1, 'vector': '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'}


Subscriptions

Mongodb Database Tools
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-11-03T17:38:44.072Z

Reserved: 2026-10-30T14:08:01.050Z

Link: CVE-2026-119674

cve-icon Vulnrichment

Updated: 2026-11-03T17:38:39.381Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-03T17:18:06.967

Modified: 2026-11-03T20:00:56.300

Link: CVE-2026-119674

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-03T19:00:21Z

Weaknesses
  • CWE-174

    Double Decoding of the Same Data