CVE-2026-81521
JSON

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 packageVersionsReported by
go.mongodb.org/mongo-driver/v2from 2.1.0 before 2.8.2, from 2.9.0 before 2.9.2CVE List
mongodb go_driverfrom 2.1.0 before 2.8.2NVD

All scores

mongodb7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
mongodb6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-99

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-81521 changed 2026-11-25CVE Terms of Use
NVDCVE-2026-81521 changed 2026-11-25Public domain