{"id":"UBUNTU-CVE-2026-119674","details":"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.","modified":"2026-11-05T11:47:26.335326155Z","published":"2026-11-03T17:18:00Z","upstream":["CVE-2026-119674"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-119674"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-119674"},{"type":"REPORT","url":"https://github.com/mongodb/mongo-tools/blob/master/CHANGELOG.md"}],"affected":[{"package":{"name":"mongo-tools","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mongo-tools?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.11-1","3.2.11-1ubuntu1","3.4.14-1","3.4.14-2","3.6.3-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"mongo-tools","binary_version":"3.6.3-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-119674.json"}},{"package":{"name":"mongo-tools","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mongo-tools?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.3-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.3-0ubuntu1","binary_name":"mongo-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-119674.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}