CVE-2026-119675

mongorestore may bypass collection guards through a system.buckets prefix

Published Nov 3, 2026 CVSS 4.0 · 5.2 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability in MongoDB Database Tools mongorestore arises from inconsistent handling of the system.buckets. prefix when validating collection names for untrusted dumps. It allows a specially crafted collection name to bypass the tool's special‑collection checks and the operator namespace filters, enabling the restore command to create an arbitrary database user account. When the operator has user‑management privileges, the attacker can create a user with the root role, thus escalating privileges. The flaw is an instance of CWE-184 and CWE-706.

Affected Systems

Affected are the MongoDB Database Tools binary versions starting at 100.4.0 through versions before 100.20.1. Any deployment that uses mongorestore from these releases and restores a dump containing a maliciously named collection is at risk. The vulnerability is confined to the database tools and does not impact the MongoDB server itself.

Risk and Exploitability

The CVSS score of 5.2 places the flaw in the moderate range. An EPSS score of less than 1% indicates a low probability of exploitation, and it is not listed in CISA KEV, signifying no documented public exploitation. Nevertheless, the flaw can be leveraged by an operator running mongorestore with user‑management rights, a privilege many administrators have. The attack vector is local or remote via the restoration process, so an insider or a threat actor who can execute mongorestore can elevate privileges without additional compromise.

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 strictly necessary.

Generated by OpenCVE AI on November 6, 2026 at 02:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb database Tools
Vendors & Products Mongodb
Mongodb database Tools
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'}

Weaknesses
  • CWE-184

    Incomplete List of Disallowed Inputs

  • CWE-706

    Use of Incorrectly-Resolved Name or Reference

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Nov 3, 2026, 5:45 PM
Reserved
Oct 30, 2026, 2:08 PM
Status
Awaiting Analysis
Published
Nov 3, 2026, 5:18 PM
Modified
Nov 3, 2026, 8:00 PM
Severity
Important
Public date
Nov 3, 2026, 4:06 PM