Skip to content
OpenAdvisories
High · 8.6 CVE-2026-119675 EUVD-2026-116026GHSA-fg58-w2p8-9j7f

mongorestore may bypass collection guards through a system.buckets prefix

Published Nov 3, 2026 · Updated Nov 3, 2026 · Assigned by mongodb

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.

Affected products

VendorProductAffectedFixed
MongoDB Database Tools 100.4.0 – < 100.20.1 100.20.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS mongo-tools No fix yet —
Ubuntu 18.04 LTS mongo-tools No fix yet —

Advisories 1

References