Skip to main content
← All vulnerabilities
CVE-2026-81521

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.8.2, 2.9.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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 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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MongoDB GO Driver

    From 2.1.0 · fixed in 2.8.2; From 2.9.0 · fixed in 2.9.2

References 2

jira.mongodb.org

pkg.go.dev