CVE-2026-81521

published 27 Aug 2026 · updated 6 Oct 2026

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

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in GO Driver 2.8.2 and GO Driver 2.9.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBGO Driver>=2.1.0 <2.8.2, >=2.9.0 <2.9.22.8.2, 2.9.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-81521 severity on Zeptric[![CVE-2026-81521](https://zeptric.io/badge/cve/CVE-2026-81521.svg)](https://zeptric.io/cve/CVE-2026-81521)