CVE Catalog

CVE-2026-81521

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Summary

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. An application passing untrusted input as a database name could have the write directed at a database and collection other than intended.

Risk Assessment

This may lead to data being written to the wrong location, compromising data integrity and potentially causing unauthorized modifications.

Recommendation

Upgrade the MongoDB Go Driver to a patched version. Validate and sanitize user-supplied database names before use in write operations.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS