{"id":"CVE-2026-119674","state":"PUBLISHED","title":"mongorestore may restore encoded collection names into an unintended collection","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.","publishedAt":"2026-11-03T16:21:36.648Z","updatedAt":"2026-11-03T17:38:44.072Z","severity":{"score":2.1,"label":"Low","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","source":"mongodb"},"assigner":"mongodb","products":["MongoDB Database Tools"],"affected":[{"vendor":"MongoDB","product":"Database Tools","defaultStatus":"unaffected","versions":[{"version":"100.0.2","status":"affected","lessThan":"100.20.1","versionType":"semver"}]}],"references":["https://github.com/mongodb/mongo-tools/blob/master/CHANGELOG.md"],"weaknesses":["CWE-174"],"ingestedAt":"2026-11-03T17:44:06.675Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/119xxx/CVE-2026-119674.json","commit":"cf7f55e1f6175a6ba3390d281761879051623d24","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-119674","state":"PUBLISHED","datePublished":"2026-11-03T16:21:36.648Z","dateUpdated":"2026-11-03T17:38:44.072Z","assignerShortName":"mongodb","assignerOrgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateReserved":"2026-10-30T14:08:01.050Z"},"containers":{"cna":{"title":"mongorestore may restore encoded collection names into an unintended collection","descriptions":[{"lang":"en","value":"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":[{"vendor":"MongoDB","product":"Database Tools","defaultStatus":"unaffected","versions":[{"version":"100.0.2","status":"affected","lessThan":"100.20.1","versionType":"semver"}]}],"references":[{"url":"https://github.com/mongodb/mongo-tools/blob/master/CHANGELOG.md"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"LOW","baseScore":2.1,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"LOW","baseSeverity":"LOW","baseScore":3.7,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:L"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-174","lang":"en","description":"CWE-174: Double Decoding of the Same Data","type":"CWE"}]}],"providerMetadata":{"shortName":"mongodb","orgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateUpdated":"2026-11-03T16:21:36.648Z"},"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"cve_record_builder.py"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-03T17:38:32.169861Z","id":"CVE-2026-119674","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-03T17:38:44.072Z"}}]}}}