CVE-2026-119674 PUBLISHED

mongorestore may restore encoded collection names into an unintended collection

Assigner: mongodb
Reserved: 30.10.2026 Published: 03.11.2026 Updated: 03.11.2026

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.

Metrics

CVSS 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
CVSS Score: 2.1

Product Status

Vendor MongoDB
Product Database Tools
Versions Default: unaffected
  • affected from 100.0.2 to 100.20.1 (excl.)

References

Problem Types

  • CWE-174: Double Decoding of the Same Data CWE