{"id":"CVE-2026-81521","state":"PUBLISHED","title":"Cross-database write retargeting via unvalidated dotted database name in Client.BulkWrite in the MongoDB Go Driver","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.","publishedAt":"2026-08-27T18:31:45.450Z","updatedAt":"2026-10-06T18:17:46.581Z","severity":{"score":7.1,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","source":"mongodb"},"assigner":"mongodb","products":["MongoDB GO Driver"],"affected":[{"vendor":"MongoDB","product":"GO Driver","defaultStatus":"unaffected","versions":[{"version":"2.1.0","status":"affected","lessThan":"2.8.2","versionType":"semver"},{"version":"2.9.0","status":"affected","lessThan":"2.9.2","versionType":"semver"}]}],"references":["https://jira.mongodb.org/browse/GODRIVER-4075","https://pkg.go.dev/go.mongodb.org/mongo-driver/v2@v2.8.2"],"weaknesses":["CWE-99"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/81xxx/CVE-2026-81521.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-81521","state":"PUBLISHED","datePublished":"2026-08-27T18:31:45.450Z","dateUpdated":"2026-10-06T18:17:46.581Z","assignerShortName":"mongodb","assignerOrgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateReserved":"2026-08-26T22:13:12.343Z"},"containers":{"cna":{"title":"Cross-database write retargeting via unvalidated dotted database name in Client.BulkWrite in the MongoDB Go Driver","descriptions":[{"lang":"en","value":"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":[{"vendor":"MongoDB","product":"GO Driver","defaultStatus":"unaffected","versions":[{"version":"2.1.0","status":"affected","lessThan":"2.8.2","versionType":"semver"},{"version":"2.9.0","status":"affected","lessThan":"2.9.2","versionType":"semver"}]}],"references":[{"url":"https://jira.mongodb.org/browse/GODRIVER-4075"},{"url":"https://pkg.go.dev/go.mongodb.org/mongo-driver/v2@v2.8.2"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":7.1,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseSeverity":"MEDIUM","baseScore":6.5,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-99","lang":"en","description":"CWE-99: Improper Control of Resource Identifiers ('Resource Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"mongodb","orgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateUpdated":"2026-10-06T18:17:46.581Z"},"source":{"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.4"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-28T15:52:01.062590Z","id":"CVE-2026-81521","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-28T15:52:13.039Z"}}]}}}