Vulnerability · Published Aug 27, 2026 · Assigned by mongodb

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

Medium 6.5

In plain English

A medium-severity security flaw in GO Driver from MongoDB. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities).

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.2%top 85.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12golang-mongodb-mongo-driverno fix listedDEBIAN-CVE-2026-81521
Debian:13golang-mongodb-mongo-driverno fix listedDEBIAN-CVE-2026-81521
Debian:14golang-mongodb-mongo-driverno fix listedDEBIAN-CVE-2026-81521
Ubuntu:24.04:LTSgolang-mongodb-mongo-driverno fix listedUBUNTU-CVE-2026-81521
Ubuntu:26.04:LTSgolang-mongodb-mongo-driverno fix listedUBUNTU-CVE-2026-81521
Ubuntu:26.10golang-mongodb-mongo-driverno fix listedUBUNTU-CVE-2026-81521

Affected products (as reported)

VendorProductVersions
MongoDB GO Driver 2.1.0 – before 2.8.22.9.0 – before 2.9.2

Weakness: CWE-99 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

References