Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker supplies crafted database name via app input
-
DeliveryApp calls Client.BulkWrite with unsanitized name
-
ExploitDriver builds malformed namespace string
-
ExecutionWrite operation targets unintended database/collection
-
ImpactData integrity violated in attacker-chosen namespace
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Resource identifier sanitization
|
| Exploitation Conditions | Exploitation requires three concurrent conditions: (1) the application uses the Client.BulkWrite API from go.mongodb.org/mongo-driver/v2 specifically - single-collection write APIs are not affected; (2) the application passes a caller-supplied or otherwise untrusted string as the database name argument without prior sanitization; and (3) the attacker has the ability to influence that database name input, typically through an API parameter, configuration endpoint, or multi-tenant identifier field. Applications that construct database names exclusively from static server-side configuration or validated allow-lists are not exploitable. Authentication requirements reflect the consuming application's access controls rather than the driver itself; the CVSS PR:L indicates that some level of application-layer access (e.g., authenticated API user) is typically required to reach the vulnerable code path. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N) scores 7.1, reflecting high integrity impact reachable over the network with low privilege. EPSS data is not provided in the input, so probabilistic exploitation likelihood cannot be cited. There is no CISA KEV entry and no known POC, meaningfully reducing near-term real-world risk despite the elevated CVSS score. The practical risk is conditional: exploitation requires an application to (a) use the Client.BulkWrite API specifically, (b) pass unsanitized user-controlled input as the database name, and (c) be exposed to untrusted callers. Applications that construct database names solely from server-side configuration or trusted sources are not affected. This is a library-level flaw; the true blast radius depends entirely on how consuming applications handle input - a common pattern in resource injection vulnerabilities. PR:L in the vector is accurate: the attacker must have a foothold in the consuming application's input layer, not the driver itself. |
| Exploit ScenarioDerived | An attacker interacts with a Go web service that exposes a multi-tenant API where the database name is derived from a user-supplied tenant identifier. By supplying a tenant name such as 'legit.admin', the attacker causes the MongoDB Go Driver's Client.BulkWrite to construct the namespace 'legit.admin.orders' instead of 'legit.orders', silently redirecting bulk writes into the 'admin' collection of the 'legit' database - or into an entirely different database depending on separator placement. No public exploit code is known at this time. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 27, 2026
Namespace injection in MongoDB Go Driver's Client.BulkWrite API allows an attacker who controls the database name argument to redirect bulk write operations to an unintended database and collection. When an application passes untrusted, user-supplied input directly as a database name, the driver fails to escape reserved MongoDB namespace separator characters before constructing the target namespace string. The impact is a high-integrity write misdirection - data is silently written to attacker-influenced storage targets. No public exploit and no CISA KEV listing exist at time of analysis.
RemediationAI
The primary fix is to upgrade go.mongodb.org/mongo-driver/v2 to v2.8.2 or later, which introduces proper escaping of reserved separator characters in the Client.BulkWrite namespace construction path. Run 'go get go.mongodb.org/mongo-driver/v2@v2.8.2' and rebuild affected services. As an interim compensating control for applications that cannot immediately upgrade, validate and sanitize database name arguments before passing them to Client.BulkWrite - specifically, reject or strip any string containing a '.' character used as a namespace separator in MongoDB. This control carries the trade-off of potentially rejecting legitimate database names that contain dots if your schema permits them, so the patch is strongly preferred. The advisory reference is https://pkg.go.dev/go.mongodb.org/mongo-driver/v2@v2.8.2.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability (CWE-99: Improper Control of Resource Identifiers) resides in the Go language client for MongoDB, identified by CPE cpe:2.3:a:mongodb:go_driver:*:*:*:*:*:*:*:*. MongoDB namespaces are expressed as 'database.collection' strings, where '.' is a reserved separator. The Client.BulkWrite API constructs these namespace strings from caller-provided database names without first stripping or escaping the reserved character. An attacker who controls the database name argument can inject a '.' (or equivalent separator) to alter the resulting namespace, causing the bulk write to target a different database or collection entirely. Only the Client.BulkWrite method is affected; single-collection write operations are not in scope. The reference URL points to v2.8.2 of the mongo-driver/v2 module on pkg.go.dev, indicating the fix was delivered in that release.
Know when MongoDB gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable via app layer (AV:N), low complexity; PR:L because attacker must control app input; integrity-only impact with no confidentiality or availability effect.
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
The MongoDB Go Driver contains a namespace injection vulnerability in Client.BulkWrite that redirects write operations to attacker-controlled databases and collections when applications pass untrusted user input as database names. This silent data misdirection undermines data integrity and audit trails, potentially causing critical business data to be written to unintended or malicious storage locations. Organizations using affected driver versions with user-influenced database parameters face immediate risk of unauthorized data placement and associated compliance violations.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement strict input validation restricting database names to an allowlist of expected namespaces; (2) enforce role-based access control limiting write permissions by database; (3) add pre-write validation in application code to log and verify target database and collection names; (4) enable and monitor MongoDB audit logs for unexpected write destinations; (5) restrict application privileges to only necessary databases to limit blast radius of namespace injection.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8
Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or
Same technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| openSUSE Leap 16.0 | Affected |
EUVD-2026-67205
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB