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.
{
"cna_assigner": "mongodb",
"cwe_ids": [
"CWE-99"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81521.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "2.1.0"
},
{
"fixed": "2.8.2"
}
],
"source": "AFFECTED_FIELD"
}
]
}