# CVE-2026-119674: mongorestore may restore encoded collection names into an unintended collection

> CVE-2026-119674: mongorestore may restore encoded collection names into an unintended collection. CVSS 3.7 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-119674
Last updated: 2026-11-03T20:00:56Z

- Published: 2026-11-03 16:21 UTC · Updated: 2026-11-03 20:00 UTC · Assigner: mongodb
- CVSS: 3.7 (CVSS 3.1) · Severity: Low · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:L
- EPSS: 0.16%, 6th percentile (scored 2026-11-04)
- CISA KEV: no
- CWE: CWE-174

## Description

MongoDB Database Tools mongorestore incorrectly URL-decodes an original collection name read from metadata when the corresponding dump filename has been truncated. A database user who can create and populate a suitably encoded collection can cause a later authorized directory restore to write those documents into a different collection that the user cannot modify directly. When both collection names resolve to the same destination, backed-up documents may be omitted; use of --drop can also replace the unintended destination collection. Exploitation requires an operator to restore the affected collection from a directory dump with write access to the destination. This issue affects MongoDB Database Tools versions 100.0.2 through versions before 100.20.1.

## Affected vendors and products

- MongoDB: Database Tools

## Tracked companies

- [MongoDB Atlas](https://rewindex.com/company/mongodb-atlas.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-119674)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-119674)
- [https://github.com/mongodb/mongo-tools/blob/master/CHANGELOG.md](https://github.com/mongodb/mongo-tools/blob/master/CHANGELOG.md)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-119674 · Markdown: https://rewindex.com/cve/CVE-2026-119674.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-119674 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-11-05T15:28:16.028Z
