CVE-2026-81521
7.1
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
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| MongoDB | GO Driver | 2.1.0 < 2.8.2 | affected |
Weaknesses
- CWE-99: CWE-99: Improper Control of Resource Identifiers ('Resource Injection')
References
- https://jira.mongodb.org/browse/GODRIVER-4075
- https://pkg.go.dev/go.mongodb.org/mongo-driver/v2@v2.8.2
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.