CVE-2026-77184: MongoDB Connector for BI SQL injection in JSON schema validator comments

CVE-2026-77184 · Severity: medium · CVSS 5.2 · Published 2026-08-28

MongoDB Connector for BI is a tool that translates MongoDB queries into SQL for compatibility with SQL databases. The connector fails to properly escape special characters when converting JSON schema validator descriptions into SQL comments, allowing a user with schema modification permissions to inject malicious SQL code. If an operator or tool replays the generated SQL statements against a SQL server, the injected SQL executes with full session privileges, potentially compromising the SQL database.

Technologies: MongoDB Connector for BI. Vendors: MongoDB.

Quick answers

Is CVE-2026-77184 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-77184 being exploited in the wild.
How severe is CVE-2026-77184?
Medium severity, with a CVSS score of 5.2, published 28 August 2026.
Which products and versions are affected?
MongoDB Connector for BI <UNKNOWN>.
Is there a fix for CVE-2026-77184?
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-77184 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-77184?
Check whether you run MongoDB Connector for BI at an affected version. 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

The vulnerability is a SQL injection issue in the MongoDB Connector for BI's DDL generation logic. When a collection's JSON schema validator description is incorporated into SHOW CREATE statement output, backslash characters are not completely escaped in the resulting SQL comment text. An attacker with permission to modify a collection's schema validator can craft a malicious description containing SQL syntax that breaks out of the comment context when the DDL is replayed. The attack requires both schema modification privileges and a subsequent action (manual or automated replay of the DDL) against a SQL server. The injected SQL executes in the context of the replaying session's privileges.

Affected products

  • MongoDB Connector for BI <UNKNOWN>

Timeline

  • 2026-08-28: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.