CVE-2026-77586: SQL Injection in MongoDB Connector for BI SHOW CREATE Output
- Vendor
- Mongodb
CVE-2026-77586 is a SQL-injection vulnerability in MongoDB Connector for BI. The connector incorporates MongoDB collection, field, and index names into quoted SQL identifiers in DDL emitted by SHOW CREATE statements without escaping the identifier delimiter. An attacker able to create or modify names in a sampled MongoDB collection can supply a crafted name that terminates the intended identifier and appends arbitrary SQL to the generated DDL. The injected SQL is not executed merely by generating SHOW CREATE output; execution occurs when that output is subsequently replayed against a SQL server.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A successful exploit causes attacker-controlled SQL embedded in generated DDL to execute under the privileges of the SQL session used to replay the SHOW CREATE output. Depending on that session's permissions, this can enable unauthorized data access or modification, execution of privileged database operations, and potentially further compromise of connected SQL-accessible resources. The vulnerability is rated High, with reported CVSS v4.0 and v3.1 base scores of 8.5 and 8.0, respectively.
Mitigation
If you can’t patch tonight, do this now.
Until the fixed release is deployed, do not replay SHOW CREATE output originating from untrusted or user-writable sampled collections. Restrict write privileges on sampled collections, inspect and validate generated DDL before execution, and perform necessary replay operations only through least-privileged SQL accounts.
Remediation
Patch, then assume compromise.
Update MongoDB Connector for BI to the August 26, 2026 security release or a later fixed release. The fix properly escapes collection, field, and index names when producing SHOW CREATE DDL output.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-77586 exploited in the wild?
- As of Sep 29, 2026, Mallory has no reports of CVE-2026-77586 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-77586?
- As of Sep 29, 2026, Mallory has found no public exploit for CVE-2026-77586.
- Is there a patch for CVE-2026-77586?
- Update MongoDB Connector for BI to the August 26, 2026 security release or a later fixed release. The fix properly escapes collection, field, and index names when producing SHOW CREATE DDL output.
- What products are affected by CVE-2026-77586?
- Mongodb Bi Connector.
- How severe is CVE-2026-77586?
- CVE-2026-77586 has a CVSS v4 score of 8.5 (High) and an EPSS score of 0.42% (28th percentile) as of Sep 29, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.