Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2026-81521

Cross-database write retargeting via unvalidated dotted database name in Client.BulkWrite in the MongoDB Go Driver

Description

The MongoDB Go Driver's client-level bulk write operation may accept a caller-supplied database name containing a reserved separator character without escaping it before the name is used to build the target namespace for the operation. An application that passes untrusted input as a database name could therefore have the write directed at a database and collection other than the ones it intended. Only the Client.BulkWrite API is affected.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

MongoDB GO Driver

Default version status: unaffected

  • 2.1.0 to < 2.8.2affected
  • 2.9.0 to < 2.9.2affected

References