MongoDB Database Toolsのmongorestoreで権限を回避され不正なデータベースアカウントを作られる脆弱性
Summary
MongoDB Database Toolsのmongorestoreに、信頼できないダンプ内のコレクション名の検証が不統一なため、特別扱いのコレクションを守る仕組みを回避される脆弱性があります。影響するのは100.4.0から100.20.1より前の版で、修正版は100.20.1です。悪用には、ユーザー管理権限を持つ認証情報で復元を実行させる必要があるため、修正版への更新と不審なダンプの復元を避けることを優先してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
MongoDB Database Toolsのmongorestoreに、信頼できないダンプ内のコレクション名の検証が不統一なため、特別扱いのコレクションを守る仕組みを回避される脆弱性があります。影響するのは100.4.0から100.20.1より前の版で、修正版は100.20.1です。悪用には、ユーザー管理権限を持つ認証情報で復元を実行させる必要があるため、修正版への更新と不審なダンプの復元を避けることを優先してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBDatabase Tools |
≥ 100.4.0, < 100.20.1→ 100.20.1 |
100.20.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Ubuntu UBUNTU-CVE-2026-119675 mongo-tools No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- REDHAT Red Hat
- web cna@mongodb.com
- web nvd.nist.gov
- web github.com