Skip to main content

MongoDB BI Connector EUVDEUVD-2026-67779

| CVE-2026-77184 MEDIUM
SQL Injection (CWE-89)
2026-08-28 mongodb GHSA-67f8-9r65-xc46
5.7
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain schema-validator write privileges
  2. Delivery
    Craft malicious validator description with SQL injection payload
  3. Exploit
    Trigger or await SHOW CREATE DDL generation
  4. Install
    Poisoned DDL distributed to operator or automation
  5. C2
    Operator or pipeline replays DDL against SQL server
  6. Execute
    Injected SQL executes with replay session privileges
  7. Impact
    Confidential data exfiltrated

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three concrete, simultaneous conditions: (1) the attacker holds high-privilege access sufficient to modify a MongoDB collection's JSON schema validator - typically a database administrator or equivalent role (PR:H in the CVSS 4.0 vector); (2) the target BI Connector deployment is explicitly configured to build its SQL schema from collection validators, which is not the default mode; and (3) an operator or automated tool actively replays the generated SHOW CREATE DDL output against a SQL server without sanitizing comment fields (UI:A). Environments without automated DDL replay pipelines are not exploitable even if conditions one and two are met. Exploitation is bounded by the need to control validator content and by the dependency on a downstream replay event outside the attacker's direct control.

Impact

The CVSS 4.0 score of 5.7 (Medium) accurately reflects a constrained but credible threat: AV:N establishes network reachability for the initial privilege step, but AT:P (specific attack requirements present) and PR:H (high privileges required) limit the attacker pool to trusted insiders or accounts compromised at the database-administrator level. UI:A (active user interaction required) further confines exploitation to environments where operators or automated pipelines replay SHOW CREATE DDL output against a SQL server without first sanitizing comment fields - a pattern common in schema-sync automation. No CISA KEV designation and no known POC exist, keeping exploitation probability low. The most credible scenario is a malicious insider persistently poisoning DDL output and waiting for a downstream replay event. The VC:H impact on the downstream SQL server represents meaningful data exposure risk in relevant deployments, but the multi-prerequisite attack chain - requiring high-privilege access, validator-based schema mode, and a DDL replay workflow - makes this a targeted, low-frequency threat rather than opportunistic mass exploitation.

Exploit ScenarioDerived

An insider or compromised administrator with schema-validator write access crafts a MongoDB collection validator whose description field contains backslash-delimited SQL injection sequences. The malicious content is silently embedded in the DDL comment within the next SHOW CREATE output generated by the BI Connector. When an operator or CI/CD automation tool subsequently replays this DDL against a MySQL-compatible SQL server without sanitization, the injected SQL executes with the replaying session's privileges, potentially exfiltrating table contents or modifying schema objects.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 28, 2026

SQL injection in MongoDB Connector for BI allows a high-privilege user to embed arbitrary SQL in generated DDL output by crafting a collection JSON schema validator description containing unescaped backslash sequences. All versions covered by cpe:2.3:a:mongodb:bi_connector:*:*:*:*:*:*:*:* in deployments that build SQL schemas from collection validators are affected. When an operator or automated pipeline later replays the poisoned SHOW CREATE output against a SQL server, the injected SQL executes with the replaying session's full privileges, potentially exfiltrating data or manipulating schema objects. No CISA KEV designation and no public exploit code are known at time of analysis.

RemediationAI

Consult the MongoDB BI Connector release notes at https://www.mongodb.com/docs/bi-connector/current/release-notes/ to identify the patched release and upgrade as soon as possible; no exact fix version is independently confirmed from available input data, so the release notes page should be checked directly. As a compensating control, restrict schema validator modification privileges to only the most trusted accounts, reducing the insider threat surface. Audit and modify any automated pipelines that consume BI Connector SHOW CREATE DDL output to validate or sanitize SQL comment text before re-execution against a SQL server - this removes the second-stage trigger without requiring an immediate upgrade, at the cost of added pipeline complexity. Deployments not using validator-based schema building are not exposed and require no immediate action.

Affected VersionsENISA

BI Connector 2.1.0 <2.14.31

Affected Packages

euvd bi_connector fix: 2.14.31

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MongoDB Connector for BI bridges MongoDB's document model to SQL-based BI tools by translating collection schemas into SQL DDL statements. When collections use JSON Schema validators, the BI Connector incorporates validator description fields into SQL comment text embedded in SHOW CREATE output. CWE-89 (SQL Injection) arises because backslash characters in these description strings are not fully escaped before interpolation into the generated SQL comment, allowing an attacker to break out of the comment boundary and inject executable SQL statements. The affected CPE cpe:2.3:a:mongodb:bi_connector:*:*:*:*:*:*:*:* encompasses all documented versions. The vulnerability is scoped to deployments explicitly configured to build their SQL schema from collection validators - not all BI Connector deployments use this mode.

Know when MongoDB gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mongodb) PRIMARY 5.7 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.2 MEDIUM

PR:H reflects required schema-validator write privileges; AC:H reflects the non-default deployment configuration and DDL replay dependency; S:C because injected SQL executes on a downstream SQL server outside the BI Connector's trust boundary.

3.1 AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
High
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 28, 2026 - 21:17 EUVD
CVSS changed
Aug 28, 2026 - 20:22 NVD
5.6 (MEDIUM) 5.7 (MEDIUM)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
specialized MongoDB-to-SQL translation layer, niche enterprise footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2026-118383 CRITICAL POC
9.5 Nov 10

Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2018-13863 HIGH POC
7.5 Jul 10

The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-129987 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong

CVE-2026-137498 CRITICAL
9.9 Nov 26

Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-6376 CRITICAL
9.8 Jul 01

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy