CVE-2026-81521
Published:August 27, 2026
Updated:September 24, 2026
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 Packages
https://github.com/mongodb/mongo-go-driver.git (GITHUB):
Affected version(s) >=v2.1.0 <v2.8.2Fix Suggestion:
Update to version v2.8.2go.mongodb.org/mongo-driver/v2 (GO):
Affected version(s) >=v2.1.0 <v2.8.2Fix Suggestion:
Update to version v2.8.2Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Control of Resource Identifiers ('Resource Injection')
EPSS
Base Score:
0.20