CVE-2026-77184: MongoDB Connector for BI Incomplete Escaping of Stored Metadata in Generated SHOW CREATE Output
In MongoDB Connector for BI, the description text of a collection's JSON schema validator is incorporated into the comment text of the DDL returned by SHOW CREATE statements without complete escaping of backslash characters. A user with permission to modify a collection's schema validator, in deployments configured to build their SQL schema from those validators, can cause additional SQL text to be embedded in that 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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments are affected when MongoDB Connector for BI is configured to build its SQL schema from collection JSON schema validators. An attacker must be able to modify a collection's schema validator.
What must happen for the injected SQL to execute?
The attacker-controlled text is placed in DDL generated by a SHOW CREATE statement. Execution requires an operator or automated tool to replay that generated statement against a SQL server.
What determines the impact of a successful exploit?
The additional SQL runs with the privileges of the SQL session that replays the generated statement. The reported impact includes high confidentiality impact and low integrity impact.