CVE-2026-77586
nicheSQL Injection in MongoDB Connector for BI via SHOW CREATE DDL
MongoDB Connector for BI fails to escape identifier delimiters when it inserts MongoDB collection, field, and index names into the quoted identifiers of the DDL text returned by SHOW CREATE statements (CWE-89). A user who has permission to write to a sampled MongoDB collection can craft an object name that closes the quoted identifier early, injecting additional SQL text into the generated statement. If an operator or automated tool later replays that generated statement against a SQL server, the injected text executes with the privileges of that session, giving the attacker SQL execution (rated high for confidentiality, integrity, and availability on the affected system). Affected are deployments of MongoDB Connector for BI in which low-privileged users can write to collections being sampled; the available data does not specify vulnerable version ranges. Exploitation is not currently known to occur in the wild, with no public proof-of-concept, a 0.2% 30-day EPSS probability, and no entry in CISA's KEV catalog.
What to do: Check MongoDB's advisory for this CVE and upgrade Connector for BI to the patched version once identified. In the meantime, restrict write permissions on collections that are being sampled, and avoid replaying SHOW CREATE output against SQL servers without reviewing object names for embedded identifier delimiters (quotes/backticks).
| MongoDB Connector for BI | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news0 stories
No ingested article mentions this CVE yet.