CVE-2026-77586 MongoDB Connector for BI Unescaped Object Names in Generated SHOW CREATE Output
Attackers can inject SQL into generated DDL statements via unescaped object names, leading to code execution when the output is replayed.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-77586?
CVE-2026-77586 is a high-severity SQL injection vulnerability in MongoDB BI Connector, published on 28 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
In MongoDB Connector for BI, MongoDB object names such as collection, field, and index names are placed into the quoted identifiers of the DDL text returned by SHOW CREATE statements without escaping the identifier delimiter. A user with permission to write to a sampled MongoDB collection can choose a name that closes the quoted identifier early, so that additional SQL text becomes part of the generated output. If an operator or automated tool later replays that generated statement against a SQL server, the additional text is executed with the privileges of that session.
Weakness: CWE-89
Which versions are affected by CVE-2026-77586?
It affects 1 product.
Products include Mongodb Bi Connector.
How do I fix CVE-2026-77586?
No fix has been published for CVE-2026-77586 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-77586 being exploited?
There is no known exploitation of CVE-2026-77586 in the wild and no public exploit code.
Other vulnerabilities in MongoDB BI Connector
- CVE-2026-81517 MongoDB Connector for BI Improper Error Handling of Log Write Failures May Cause Loss of SQL Service
- CVE-2026-81518 BI Connector Optional Client Certificate Verification Allows Unauthenticated Connections
- CVE-2026-81520 MongoDB Connector for BI Unbounded Authentication Negotiation Leading to Connection Exhaustion
- CVE-2026-81490 MongoDB Connector for BI Improper Error Handling During Schema Sampling May Cause Loss of SQL Service
- CVE-2026-75159 MongoDB BI Connector Improper Memory Handling During Failed Kerberos Authentication May Cause Process Termination
Sources
Also known as GHSA-7x84-hvm6-wgf7.