Skip to main content

MongoDB BI Connector EUVDEUVD-2026-67943

| CVE-2026-81533 MEDIUM
Stack-based Buffer Overflow (CWE-121)
2026-08-28 mongodb GHSA-gj6m-p8hr-868g
6.0
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to BI application with low-privilege account
  2. Delivery
    Craft SQL with oversized LIMIT digit sequence
  3. Exploit
    Submit query via ODBC to BI Connector with prefetch enabled
  4. Execution
    Driver copies digits into fixed-size stack buffer without bounds check
  5. Persist
    Stack overflow corrupts adjacent memory
  6. Impact
    Hosting process crashes or attacker-controlled code executes

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

Two specific conditions must simultaneously be present for exploitation. First, the BI Connector ODBC Driver's prefetch feature must be explicitly enabled in the ODBC Data Source Name or connection-string - this is a non-default opt-in setting that routes SQL LIMIT parsing through the vulnerable buffer-copy code path; without prefetch enabled, the vulnerability is not reachable. Second, the attacker must hold at minimum low-privilege authenticated access (CVSS PR:L) sufficient to submit SQL queries through the BI Connector - anonymous or unauthenticated network exploitation is not possible. Limiting factors: the prefetch option is non-default, meaning the majority of BI Connector deployments are not exposed; and authentication is required, ruling out opportunistic internet-scale scanning attacks. There is no required user interaction beyond the attacker's own query submission.

Impact

The reporter-assigned CVSS 4.0 score of 6.0 (Medium) with vector AV:N/AC:L/AT:P/PR:L/UI:N reflects a balanced picture: network-reachable and requiring no special complexity once conditions are met, but gated by two real constraints - authenticated access (PR:L) and the non-default prefetch setting (AT:P). Primary impact is high availability loss (VA:H, process crash) with minor integrity risk (VI:L, stack corruption). Confidentiality impact is absent (VC:N). No KEV listing and no identified public exploit code further reduce urgency relative to the raw score. For organizations running the BI Connector with prefetch enabled and where SQL is submitted by less-trusted BI consumers, the risk is concrete and actionable. For environments where prefetch is disabled or all SQL is authored by trusted administrators, effective risk is negligible. No conflicting signals exist between the CVSS vector and the description; the AT:P designation accurately represents the prefetch dependency described in the CVE text.

Exploit ScenarioDerived

An authenticated BI tool consumer - for example, a Tableau or Excel user with query rights - submits a crafted SQL statement containing a LIMIT clause whose numeric argument consists of several hundred or more digit characters (e.g., LIMIT 99999...9). When the driver's prefetch setting is active, it routes the LIMIT value through the vulnerable parsing routine that copies the digit string into a fixed-size stack buffer; the overflow overwrites adjacent stack memory, causing the hosting application process to crash or, depending on stack layout, potentially redirecting execution. No public proof-of-concept has been identified, but the vulnerability class (CWE-121) is well understood and straightforward to weaponize once the target condition is confirmed.

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

Stack-based buffer overflow in MongoDB BI Connector ODBC Driver allows an authenticated user who can influence the numeric argument of a SQL LIMIT clause to crash the hosting application process or corrupt adjacent stack memory. The vulnerability is gated by a non-default driver configuration: the prefetch feature must be explicitly enabled, narrowing real-world exposure to that subset of deployments. No public exploit code has been identified and the issue is absent from CISA's Known Exploited Vulnerabilities catalog; however, where conditions are met, availability impact is rated High by the reporter.

RemediationAI

Consult the MongoDB BI Connector ODBC Driver releases page at https://github.com/mongodb/mongo-bi-connector-odbc-driver/releases to identify and deploy the latest release containing the fix - an exact patched version number is not confirmed in the available advisory data and must be determined from release notes there. As an immediate compensating control, disable the prefetch setting in your ODBC DSN configuration; this removes the vulnerable code path entirely and eliminates exploitation risk without requiring a driver upgrade, though it may reduce query throughput for large result sets due to loss of result prefetching. Additionally, enforce the principle of least privilege on who can submit arbitrary SQL to the BI Connector endpoint, particularly controlling the ability to specify or influence LIMIT clause values, to reduce the attack surface in environments where disabling prefetch is not immediately feasible.

Affected VersionsENISA

BI Connector ODBC driver 0 <1.4.10

Affected Packages

euvd bi_connector_odbc_driver fix: 1.4.10

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 BI Connector ODBC Driver (CPE: cpe:2.3:a:mongodb:bi_connector_odbc_driver:*:*:*:*:*:*:*:*) is an ODBC bridge that translates SQL queries from BI tools such as Tableau or Microsoft Excel into MongoDB aggregation-pipeline calls. CWE-121 (Stack-based Buffer Overflow) identifies the root cause: when parsing a LIMIT clause, the driver allocates a fixed-size stack buffer to receive the digit sequence, then copies user-supplied input into it without first validating the input length. This classic unbounded strcpy/memcpy pattern allows a sufficiently long digit string to overwrite adjacent stack data - potentially including saved return addresses or function pointers - enabling outcomes beyond the documented process-termination crash. The AT:P (attack requirement: present) flag in the CVSS 4.0 vector correctly encodes that this path is only reachable when the optional prefetch optimization is active in the ODBC Data Source Name configuration.

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 6.0 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Prefetch must be explicitly enabled (non-default, AC:H); low-privilege SQL submission required (PR:L); no confidentiality impact; high availability loss from process crash.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

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

Lifecycle Timeline

1
Patch available
Aug 28, 2026 - 23:03 EUVD

DescriptionCVE.org

An application using the MongoDB BI Connector ODBC Driver may encounter a memory-safety issue when a submitted SQL statement contains an unusually long run of digits following a LIMIT clause. The issue occurs only on connections where the driver's optional prefetch setting is enabled, and stems from the driver copying the digit sequence into a fixed-size internal buffer without checking its length. A user able to influence the numeric portion of a LIMIT clause could cause the hosting application process to terminate unexpectedly or corrupt adjacent memory in that process.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche SQL-to-MongoDB ODBC bridge, not universally deployed
Data Quality
6 sources
Confidence: High

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

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

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.

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-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-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-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