CVE-2026-81521: CWE-99: Improper Control of Resource Identifiers ('Resource Injection') in MongoDB GO Driver
Description
CVE-2026-81521 is a high-severity vulnerability in the MongoDB Go Driver affecting the Client.BulkWrite API. The issue arises because the driver may accept a caller-supplied database name containing a reserved separator character without properly escaping it. This can cause write operations to be directed to unintended databases and collections if untrusted input is used as the database name.
CVSS v4.0
Score 7.1high
Affected software
MongoDB
GO Driver
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The MongoDB Go Driver's client-level bulk write operation (Client.BulkWrite API) improperly controls resource identifiers by accepting a database name containing reserved separator characters without escaping them. This flaw (CWE-99) allows an attacker who can supply untrusted input as the database name to redirect write operations to databases or collections other than those intended by the application. The vulnerability affects versions >=2.1.0 <2.8.2 and >=2.9.0 <2.9.2. No known exploits are reported in the wild, and no vendor advisory or patch links are provided in the input data.
Potential Impact
An attacker able to influence the database name parameter in the BulkWrite API can cause write operations to be executed against unintended databases or collections. This could lead to data corruption or unauthorized data modification within the MongoDB environment. The CVSS 4.0 score of 7.1 reflects a high severity with network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, applications should avoid passing untrusted input directly as database names in the Client.BulkWrite API or implement input validation and sanitization to prevent injection of reserved separator characters.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-08-26T22:13:12.343Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a909cffacd9273b49b2d37a
Added to database: 08/27/2026, 20:24:31 UTC
Last enriched: 10/06/2026, 19:08:31 UTC
Last updated: 10/11/2026, 18:57:27 UTC
Views: 105
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.