CVE-2026-81521: Cross-database write retargeting via unvalidated dotted database name in Client.BulkWrite in the MongoDB Go Driver
Medium · CVSS 6.5 (CVSS 3.1)EPSS 0.24%, 14th percentilePublished Updated Assigner: mongodb
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.
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N · CWE-99
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
MongoDB: GO Driver
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- jira.mongodb.org/browse/GODRIVER-4075 (opens in new tab)
- pkg.go.dev/go.mongodb.org/mongo-driver/v2@v2.8.2 (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)