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.
Published: 2026-08-27
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Unintended write to a database and collection other than intended
Action: Patch Now
AI Analysis

Impact

The vulnerability in the MongoDB Go Driver allows a caller to provide a database name that includes a reserved separator character (a dot) without proper escaping. The driver then uses that string to build the target namespace for a bulk write operation. The result is that writes intended for one database/collection may be directed elsewhere, potentially causing data corruption, accidental data loss, or unintended data exposure. The weakness is a form of improper input validation (CWE-99) and untrusted input misuse (CWE-791).

Affected Systems

MongoDB Go Driver (referred to as the MongoDB Go Driver) is the only affected vendor/product. The issue is limited to the client-level BulkWrite API. No specific driver versions are listed, so any deployment using the driver that performs bulk writes is potentially exposed.

Risk and Exploitability

The CVSS score of 7.1 classifies this as a high‑severity vulnerability. The EPSS score is < 1%, indicating a very low but nonzero likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves an application that accepts untrusted input as a database name, such as a multi‑tenant API endpoint or a user‑configurable database parameter. An attacker who can supply a crafted database name can cause the driver to write data to a different database/collection, thereby compromising data integrity and confidentiality without requiring any privileged access or additional components.

Generated by OpenCVE AI on September 4, 2026 at 01:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the MongoDB Go Driver to the latest available version to incorporate the vendor’s fix.
  • Implement validation in the application layer to reject or properly escape database names containing reserved separator characters (such as dots).
  • Add unit tests that verify database names cannot contain separator characters before they are passed to the BulkWrite API.

Generated by OpenCVE AI on September 4, 2026 at 01:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-791
References
Metrics threat_severity

None

threat_severity

Important


Sat, 29 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 28 Aug 2026 07:45:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb go Driver
Vendors & Products Mongodb
Mongodb go Driver

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
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.
Title Cross-database write retargeting via unvalidated dotted database name in Client.BulkWrite in the MongoDB Go Driver
Weaknesses CWE-99
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'}

cvssV4_0

{'score': 7.1, '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'}


Subscriptions

Mongodb Go Driver
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-08-28T15:52:13.039Z

Reserved: 2026-08-26T22:13:12.343Z

Link: CVE-2026-81521

cve-icon Vulnrichment

Updated: 2026-08-28T15:52:07.908Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-27T20:18:50.350

Modified: 2026-08-28T21:16:15.740

Link: CVE-2026-81521

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-27T18:31:45Z

Links: CVE-2026-81521 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T01:30:04Z

Weaknesses
  • CWE-791

    Incomplete Filtering of Special Elements

  • CWE-99

    Improper Control of Resource Identifiers ('Resource Injection')