CVE-2026-81521
7.1high
Cross-database write retargeting via unvalidated dotted database name in Client.BulkWrite in the MongoDB Go Driver
- Severity
- 7.1high CVSS:4.0 by mongodb
- Exploit likelihood
- 0.24% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| go.mongodb.org/mongo-driver/v2 | from 2.1.0 before 2.8.2, from 2.9.0 before 2.9.2 | CVE List |
| mongodb go_driver | from 2.1.0 before 2.8.2 | NVD |
All scores
| mongodb | 7.1high CVSS:4.0 | 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 |
| mongodb | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-81521 changed 2026-11-25 | CVE Terms of Use |
| NVD | CVE-2026-81521 changed 2026-11-25 | Public domain |