Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to BI application with low-privilege credentials
-
DeliveryCraft positioned-cursor SQL with cursor name exceeding internal buffer size
-
ExploitSubmit query via ODBC-connected application
-
ExecutionDriver copies cursor name into fixed stack buffer without length check
-
PersistAdjacent stack memory overwritten with user-controlled content
-
ImpactApplication process crashes or attacker influences redirected execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must have low-privilege authenticated access to submit arbitrary SQL through an application that uses the MongoDB BI Connector ODBC driver - confirmed by CVSS PR:L. Specifically, the attacker must be able to issue a positioned-cursor SQL construct (a DECLARE CURSOR statement followed by a positioned UPDATE or DELETE referencing that cursor) with a cursor name whose length exceeds the driver's internal fixed-length buffer. Environments that restrict end-user SQL to pre-approved parameterized queries, stored procedures, or query builders that do not expose raw positioned-cursor syntax are not exploitable via this path, though the trade-off is loss of ad-hoc SQL flexibility. Exploitation is limited to the ODBC driver host process (no scope change); the attacker cannot directly pivot to other systems through this vulnerability alone. Operating systems with robust stack protection (stack canaries, shadow stacks) and full ASLR/DEP enforcement will degrade exploitation from code execution to reliable denial of service, though crash-loop exploitation may still be useful for disruption. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N, score 8.7) signals a network-reachable, low-complexity flaw requiring only low-privilege SQL access - a realistic bar in BI environments where analysts routinely write ad-hoc queries. The PR:L authentication requirement provides a meaningful but low barrier: any user with a valid ODBC data-source login can trigger the overflow. Scope is bounded to the ODBC driver host process (SC:N/SI:N/SA:N), limiting lateral blast radius. No EPSS score was supplied and this CVE does not appear in CISA's KEV catalog, nor is POC code publicly documented, so no confirmed active exploitation exists at time of analysis. The absence of exploitation evidence moderates urgency, but the low attack complexity and potential for code execution mean that organizations of any size - even those running a single BI server - should treat this as a prioritized patch rather than a deferred maintenance item, particularly because BI Connector deployments often operate with elevated database read privileges. |
| Exploit ScenarioDerived | An analyst authenticated to a corporate BI platform (e.g., Tableau Server connected via ODBC to MongoDB) crafts a positioned-cursor DELETE statement with a cursor name several hundred bytes long and submits it through the application's query interface. The ODBC driver copies the name into its fixed diagnostic buffer without bounds checking, overwriting adjacent stack frames. In environments without stack canaries or with ASLR weaknesses, this can redirect execution to attacker-controlled shellcode or ROP chain within the BI Connector process; at minimum, it reliably crashes the service, causing a denial of service for all connected users. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 28, 2026
Stack-based buffer overflow in the MongoDB BI Connector ODBC driver allows a low-privileged SQL-capable user to overwrite adjacent stack memory by submitting a positioned-cursor statement with a cursor name exceeding the size of an internal fixed-length buffer. Any application exposing MongoDB through this ODBC driver - including common BI tools such as Tableau, Excel, or MicroStrategy - is affected across all currently listed versions (CPE wildcard). Successful exploitation can crash the hosting application process and may enable unintended code execution within that process context; no public exploit or CISA KEV listing is confirmed at time of analysis.
RemediationAI
The primary remediation is to upgrade to the latest patched release of the MongoDB BI Connector ODBC Driver; the exact fixed version must be determined from the official GitHub releases page at https://github.com/mongodb/mongo-bi-connector-odbc-driver/releases, as no specific fix version was confirmed in the available data. As a compensating control while patching is staged, restrict SQL submission capabilities to known-trusted, named queries or stored procedures, preventing end users from submitting ad-hoc positioned-cursor statements (DECLARE CURSOR, positioned UPDATE/DELETE) through the application layer - note that this trade-off reduces self-service BI capability. Additionally, run the BI Connector host process under a minimally privileged OS account (non-admin, no write access outside its working directory) so that any code execution achieved through the overflow operates with reduced system rights. Application-layer query filtering that blocks or sanitizes cursor-name tokens in SQL before ODBC submission is a further defense, though it requires careful implementation to avoid breaking legitimate query patterns. Monitor ODBC driver process crashes as an anomaly indicator for exploitation attempts.
Affected VersionsENISA
Affected Packages
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
The MongoDB Connector for BI is a translation layer that allows standard ODBC/JDBC clients to query MongoDB using SQL, converting SQL to MongoDB's query language at runtime. The affected component is the ODBC driver itself (CPE: cpe:2.3:a:mongodb:bi_connector_odbc_driver:*:*:*:*:*:*:*:*). The root cause is CWE-121 (Stack-based Buffer Overflow): when the driver processes a positioned-cursor SQL statement (used in DECLARE CURSOR / positioned UPDATE or DELETE operations), it copies the user-supplied cursor name into a fixed-length stack buffer to build a diagnostic message, but performs no length validation before the copy. When the cursor name exceeds the buffer, adjacent stack memory is overwritten with user-controlled content, potentially corrupting saved return addresses or function pointers and redirecting control flow. This is a classic unbounded stack write introduced at the diagnostic-message-construction layer rather than at the SQL parsing layer.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable via SQL submission through ODBC; PR:L reflects required authenticated low-privilege query access; scope unchanged as overflow is contained within the driver host process.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
A user able to submit SQL through an application using the MongoDB Connector for BI ODBC driver can supply a positioned-cursor statement whose cursor name exceeds the size of an internal fixed-length buffer. Because the name length is not bounded before the driver builds its diagnostic message, memory adjacent to that buffer is overwritten with user-supplied content. This can terminate the hosting application process and may allow unintended code to run within it.
Executive ViewAI
The MongoDB BI Connector ODBC driver contains a buffer overflow vulnerability affecting all current versions that compromises the integrity of business intelligence platforms including Tableau, Excel, and MicroStrategy. Attackers with SQL database access can crash applications or execute unintended code within the BI tool process, disrupting critical analytics and reporting functions. With no vendor patch currently available, immediate interim controls are essential to protect affected BI infrastructure.
Restrict network access to MongoDB BI Connector ODBC endpoints to authorized users only. Disable the driver in non-production, test, and non-critical environments. Deploy monitoring and auto-restart capabilities for affected BI applications to minimize downtime. Implement query timeouts at the application level where feasible. Maintain current backups of BI environments and test incident response procedures.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
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
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8
Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or
EUVD-2026-67941
GHSA-ggj7-6w53-qw2v
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB