CVE-2026-119675
Description
A flaw was found in mongorestore within MongoDB Database Tools. This vulnerability allows an attacker to achieve privilege escalation by creating unauthorized database accounts, including accounts with full administrative (root) privileges. By providing a specially crafted database dump containing manipulated collection names, the backup bypasses security filters during the restoration process. If an operator restores this untrusted data using credentials with user-management permissions, the unauthorized accounts are created on the target deployment.
Statement
This vulnerability is rated as Important severity because successful exploitation allows an attacker to achieve full administrative control over the destination database, balanced against the prerequisite of an operator restoring untrusted archive data using privileged credentials. In Red Hat environments that package MongoDB tools, such as containerized storage components, mongorestore operates as a client-side command-line utility rather than a continuously listening network service. Exposure is therefore restricted to operational workflows where an administrator ingests unverified backup files using destination credentials endowed with user-management permissions.
Mitigation
--- CME Mitigation Guidance (2026-11-06) ---
Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.
The highest-value action is to enforce strict collection namespace validation in mongorestore to reject crafted system.buckets prefixes resolving to administrative authentication collections: upgrade to MongoDB Database Tools 100.20.1 (or the fixed Rhceph/Alloy Rhel builds), which reject crafted collection names that resolve to admin system auth collections, closing crafted collection names with system.buckets prefix in database dumps. Until patched, this is a concern on Environments where operators restore untrusted database dumps using mongorestore with credentials granting user-management privileges, so Prohibit restoring unverified database dumps and ensure mongorestore is not executed with database credentials possessing user-management privileges on destination deployments. As a compensating measure, Audit database writes to authentication collections to detect unauthorized account creation during mongorestore executions, Monitor role assignments and alert on unauthorized root role grants or new administrative users created during restores, and Forward administrative account creation events triggered during restore workflows to a centralized SIEM for rapid alerting. These controls limit blast radius and contain exploitation, but they do not fix the underlying improper collection name validation defect — apply the upstream patch to fully remediate.
Highest-impact CME: CME-1314 Input Canonicalization Before Security Decision (high)
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 8.6 | N/A | 8.6 |
| Attack Vector | Local | N/A | Local |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | None | N/A | None |
| User Interaction | Required | N/A | Required |
| Scope | Changed | N/A | Changed |
| Confidentiality | High | N/A | High |
| Integrity Impact | High | N/A | High |
| Availability Impact | High | N/A | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
cve.org: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Understanding the Weakness (CWE)
Access Control
Technical Impact: Bypass Protection Mechanism
Attackers may be able to find other malicious inputs that were not expected by the developer, allowing them to bypass the intended protection mechanism.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.