Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-81521

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-81521

GO Driver

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "MongoDB",
    "product": "GO Driver",
    "versions": [
      {
        "status": "affected",
        "version": "2.1.0",
        "lessThan": "2.8.2",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "2.9.0",
        "lessThan": "2.9.2",
        "versionType": "semver"
      }
    ],
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-81521

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#9521 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement