Vulnerabilities

CVE-2026-81521

High 7.1 CVSS 4.0

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.

Description as published by the source, in English.

Key facts

Published
2026-08-27
Last modified
2026-11-25
Assigned by
cna@mongodb.com
CVSS vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:
Scored by
cna@mongodb.com
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Mongodb Go Driver ≥ 2.1.0, < 2.8.2 Affected

Weakness type

  • CWE-99: Improper Control of Resource Identifiers

    The product receives input from an upstream component, but it does not restrict or incorrectly restricts the input before it is used as an identifier for a resource that may be outside the intended control sphere.

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities