CVE-2026-77586: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in MongoDB BI Connector
Description
CVE-2026-77586 is a high-severity SQL injection vulnerability in the MongoDB Connector for BI version 2.1.0. It occurs because MongoDB object names are inserted into quoted identifiers in DDL statements without properly escaping the identifier delimiter. This allows a user with write permissions on a sampled MongoDB collection to craft object names that inject additional SQL commands. If these generated statements are replayed against a SQL server, the injected SQL executes with the privileges of that session.
CVSS v4.0
Score 8.5high
Affected software
MongoDB
BI Connector
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from improper neutralization of special elements used in SQL commands (CWE-89) within the MongoDB Connector for BI. Specifically, collection, field, and index names are embedded into quoted identifiers in SHOW CREATE statement outputs without escaping the delimiter. An attacker with write access to a MongoDB collection can name objects to prematurely close the quoted identifier and append malicious SQL code. This malicious SQL can then be executed if the generated DDL statement is replayed on a SQL server, potentially leading to unauthorized SQL command execution under the session's privileges.
Potential Impact
Successful exploitation can lead to execution of arbitrary SQL commands on a SQL server when the generated DDL statements are replayed. This can result in unauthorized data access or modification, depending on the privileges of the SQL session executing the statement. The vulnerability requires the attacker to have write permissions on a sampled MongoDB collection and relies on subsequent replay of the crafted SQL statement against a SQL server.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict write permissions on MongoDB collections to trusted users only and avoid replaying generated DDL statements from the BI Connector without validation or sanitization.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-08-20T20:47:00.574Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a91e412acd9273b4942e8a3
Added to database: 08/28/2026, 19:40:02 UTC
Last enriched: 09/07/2026, 15:25:57 UTC
Last updated: 10/13/2026, 06:48:19 UTC
Views: 57
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.
External Links
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.