mongorestore may bypass collection guards through a system.buckets prefix
- State
- Published
- Severity
- 5.2 Medium
- Published
- Nov 3, 2026
- Updated
- Nov 3, 2026
- Reserved
- Oct 30, 2026
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.
| Product | Versions |
|---|---|
| Database Tools MongoDB | 100.4.0 to before 100.20.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.2 Medium | mongodb | |
| 3.1 | 8.6 High | mongodb |
Weaknesses
- CWE-706 Use of Incorrectly-Resolved Name or Reference
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.