CVE-2026-119675 PUBLISHED

mongorestore may bypass collection guards through a system.buckets prefix

Assigner: mongodb
Reserved: 30.10.2026 Published: 03.11.2026 Updated: 03.11.2026

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.

Metrics

CVSS 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
CVSS Score: 5.2

Product Status

Vendor MongoDB
Product Database Tools
Versions Default: unaffected
  • affected from 100.4.0 to 100.20.1 (excl.)

References

Problem Types

  • CWE-706: Use of Incorrectly-Resolved Name or Reference CWE