# CVE-2026-77586: MongoDB Connector for BI SQL injection via unescaped identifiers

Source: https://junglewise.ai/threats/cve-2026-77586-mongodb-connector-for-bi-sql-injection-via-unescaped-identifiers  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-28. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-77586 · Severity: high · CVSS 8 · Published 2026-08-28

MongoDB Connector for BI is a tool that allows SQL clients to query MongoDB databases. A vulnerability allows an attacker with write access to MongoDB collections to inject arbitrary SQL code into DDL statements. When these statements are executed against a SQL server by operators or automated tools, the injected code runs with the privileges of that session, potentially leading to unauthorized data access or modification.

Technologies: [MongoDB Connector for BI](https://junglewise.ai/threats/technologies/connector-for-bi). Vendors: [MongoDB](https://junglewise.ai/threats/vendors/mongodb).

## Quick answers

**Is CVE-2026-77586 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-77586 being exploited in the wild.

**How severe is CVE-2026-77586?** High severity, with a CVSS score of 8, published 28 August 2026.

**Which products and versions are affected?** MongoDB Connector for BI.

**Is there a fix for CVE-2026-77586?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-77586 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-77586?** Check whether you run MongoDB Connector for BI. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

This is a SQL injection vulnerability in the DDL generation layer of MongoDB Connector for BI. MongoDB object names (collections, fields, indexes) are embedded into quoted identifiers in SHOW CREATE statements without proper escaping of the identifier delimiter. An attacker with write permissions to a MongoDB collection can craft a name containing quotes or other delimiter characters that closes the quoted identifier early, allowing additional SQL syntax to be injected into the generated statement. The vulnerability is triggered when an operator or automated tool replays the generated DDL against a SQL server; the injected SQL executes with the session's privileges. No authentication is required beyond existing MongoDB write access.

## Affected products

- MongoDB Connector for BI

## Timeline

- 2026-08-28: disclosed

## References

- [https://www.mongodb.com/docs/bi-connector/current/release-notes/](https://www.mongodb.com/docs/bi-connector/current/release-notes/)

## Related threats

- [MongoDB Connector for BI denial of service via incomplete SASL authentication](https://junglewise.ai/threats/cve-2026-81520-mongodb-connector-for-bi-denial-of-service-via-incomplete-sasl)
- [MongoDB Connector for BI client certificate validation bypass](https://junglewise.ai/threats/cve-2026-81518-mongodb-connector-for-bi-client-certificate-validation-bypass)
- [MongoDB Connector for BI denial of service via log exhaustion](https://junglewise.ai/threats/cve-2026-81517-mongodb-connector-for-bi-denial-of-service-via-log-exhaustion)
- [MongoDB Connector for BI schema-sampling denial of service](https://junglewise.ai/threats/cve-2026-81490-mongodb-connector-for-bi-schema-sampling-denial-of-service)
- [MongoDB Connector for BI SQL injection in JSON schema validator comments](https://junglewise.ai/threats/cve-2026-77184-mongodb-connector-for-bi-sql-injection-in-json-schema-validator)
