Description
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.
Published: 2026-11-03
Score: 5.2 Medium
EPSS: n/a
KEV: No
Impact: Privilege Escalation
Action: Patch
AI Analysis

Impact

The vulnerability in MongoDB Database Tools allows an attacker to craft a collection name starting with the system.buckets prefix that bypasses the tool's validation of special collection names. This bypass lets the restore command create an arbitrary database account, including one with the root role, when the restoration is performed with user‑management privileges. The attacker can thereby gain elevated privileges on the target deployment.

Affected Systems

Affected are the MongoDB Database Tools binary versions from 100.4.0 up to, but not including, 100.20.1. Any deployment using a mongorestore from these releases and restoring a dump that contains a maliciously named collection is at risk. The vulnerability is specific to the MongoDB tools and does not affect the server itself.

Risk and Exploitability

The CVSS score of 5.2 places the flaw in the moderate range, and the absence of an EPSS score or KEV listing indicates no public exploitation data yet. However, exploitation requires only that the operator running mongorestore possess the ability to create users, a privilege that many administrators have. The affected functionality is typically invoked remotely or locally via the restoration process, so an attacker with access to perform the restore can elevate privileges without further compromises.

Generated by OpenCVE AI on November 3, 2026 at 17:38 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MongoDB Database Tools to version 100.20.1 or newer.
  • Avoid running mongorestore against dumps from untrusted sources.
  • Ensure operators who run mongorestore have only the minimal privileges required and do not grant user‑management rights unless necessary.

Generated by OpenCVE AI on November 3, 2026 at 17:38 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': 'total'}, '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 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.
Title mongorestore may bypass collection guards through a system.buckets prefix
Weaknesses CWE-706
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Mongodb Database Tools
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-11-03T17:45:37.053Z

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

Link: CVE-2026-119675

cve-icon Vulnrichment

Updated: 2026-11-03T17:45:32.379Z

cve-icon NVD

Status : Received

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

Modified: 2026-11-03T18:17:56.380

Link: CVE-2026-119675

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-03T18:00:19Z

Weaknesses
  • CWE-706

    Use of Incorrectly-Resolved Name or Reference