Skip to main content

Atlas SQL ODBC CVE-2026-19503

| EUVDEUVD-2026-57551 MEDIUM
Improper Input Validation (CWE-20)
2026-08-12 mongodb GHSA-gxxm-9rmv-h4mp
6.3
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Control rogue MongoDB deployment
  2. Delivery
    Lure victim to connect via MONGODB-OIDC
  3. Exploit
    Serve crafted OIDC discovery document with malicious URI scheme
  4. Execution
    Unpatched driver dispatches URI to OS without scheme validation
  5. Persist
    OS invokes registered protocol handler (file/custom scheme)
  6. Impact
    Exfiltrate OIDC credentials or execute code in user context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires two simultaneous prerequisites: (1) the victim must use MONGODB-OIDC as the configured authentication mechanism when connecting to a MongoDB deployment - standard SCRAM, username/password, or x.509 authentication modes are entirely unaffected; and (2) the attacker must control the MongoDB deployment the victim connects to, achieved either by hosting a rogue server and inducing the user to connect (social engineering, phishing, misconfigured connection string) or by performing network-level interception of the OIDC discovery request. Code execution as a specific outcome additionally requires that the victim's operating system has a registered protocol handler for the scheme the attacker injects - this condition is OS-dependent and non-universal, making credential exposure the more broadly applicable harm. Users whose MongoDB clients connect exclusively to verified, organization-managed deployments over controlled networks are not at risk, and the MONGODB-OIDC mode must be explicitly configured rather than being a default.

Impact

The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) yields a base score of 6.3 (Medium). The AT:P qualifier accurately captures that exploitation requires a specific attack prerequisite - attacker control of the MongoDB deployment the victim connects to, or successful network-level interception of the OIDC discovery request. However, the UI:N metric appears inconsistent with the description's explicit 'user induced to connect' language; UI:P (passive user interaction) better reflects the social engineering step required, and security teams should factor this into triage. The vulnerability is not listed in CISA KEV, no EPSS data was available for this CVE ID, and no proof-of-concept has been identified, all of which support a moderate-priority rather than emergency-priority classification. Impact is bounded by user context - code execution, where achievable, occurs without privilege escalation - and the credential exposure outcome is contingent on what OIDC token the user holds. The combination of social engineering prerequisite, specific MONGODB-OIDC configuration requirement, and OS protocol handler dependency makes real-world exploitation meaningfully harder than raw CVSS network vector suggests.

Exploit ScenarioDerived

An attacker hosts a rogue MongoDB instance and configures its OIDC issuer to serve a discovery document containing a malicious URI scheme - such as ms-msdt:// or a custom file:// path - as the token_endpoint value. A developer or data analyst is deceived via phishing, a misconfigured connection string, or DNS manipulation into connecting to this deployment using MONGODB-OIDC authentication; the unpatched driver then passes the unvalidated URI to the Windows or macOS default protocol handler, which may invoke a registered local application that either exfiltrates the user's OIDC tokens or executes attacker-supplied arguments. No public proof-of-concept has been identified at time of analysis.

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 12, 2026

MongoDB Atlas SQL ODBC Driver and Schema Builder CLI fail to validate URI schemes in authorization and token endpoints returned by an OIDC issuer's discovery document, allowing an attacker-controlled MongoDB deployment to dispatch arbitrary URIs to a victim's operating system protocol handler. Users employing MONGODB-OIDC authentication who are induced to connect to a rogue or compromised MongoDB deployment may have OIDC credentials exposed or, under conditions where a dangerous OS protocol handler is registered, experience code execution within their user session context. No public exploit has been identified at time of analysis, and exploitation carries meaningful social engineering prerequisites that constrain real-world reach despite the network-accessible attack vector.

RemediationAI

Upgrade both MongoDB Atlas SQL ODBC Driver and MongoDB Schema Builder CLI to the patched releases documented in the MongoDB SQL Interface changelog at https://www.mongodb.com/docs/sql-interface/changelog - exact fixed version numbers are not independently confirmed from available input data and must be verified directly from that source. As an immediate compensating control, restrict client workstations to connecting only to trusted, organization-managed MongoDB deployments by enforcing network-layer allowlists or firewall rules that prevent connections to arbitrary MongoDB endpoints; this eliminates the attacker-controlled-deployment prerequisite. Disabling MONGODB-OIDC as the authentication mechanism in client configurations and falling back to x.509 certificate or SCRAM authentication removes the attack surface entirely, though this will break existing SSO and identity-provider integrations and requires coordination with authentication infrastructure teams. Where MONGODB-OIDC must remain enabled, organizations should audit which protocol handlers are registered on client operating systems and remove or restrict dangerous handlers (file://, ms-msdt://, custom schemes) to limit the code-execution outcome while the credential-exposure risk remains.

Affected VersionsENISA

Atlas SQL ODBC driver 1.0.0 <2.0.9
Schema Builder CLI 1.0.1 <1.2.1

Affected Packages

euvd atlas_sql_odbc_driver fix: 2.0.9
euvd schema_builder_cli fix: 1.2.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

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

Technical ContextAI · show details

Both affected components - MongoDB Atlas SQL ODBC Driver (CPE: cpe:2.3:a:mongodb:atlas_sql_odbc_driver) and MongoDB Schema Builder CLI (CPE: cpe:2.3:a:mongodb:schema_builder_cli) - implement MONGODB-OIDC authentication, which uses OpenID Connect discovery: clients fetch a well-known JSON document from the configured issuer, which declares authorization_endpoint and token_endpoint URI values. The root cause is CWE-20 (Improper Input Validation): neither component validates the URI scheme of these endpoint values before passing them to the operating system for dispatch. A malicious OIDC discovery document can return non-HTTPS schemes such as file://, ms-msdt://, or custom registered handlers, triggering OS-level protocol dispatch - a technique known as URI scheme abuse or protocol handler hijacking. The wildcard version entries in both CPE strings indicate all published versions of both products are affected, with no floor or ceiling version specified in available data.

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

User must be induced to connect to the malicious deployment (UI:R); OS protocol handler invocation represents a scope change beyond the driver (S:C); impacts are user-context-limited credential theft and conditional code execution.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/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
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 12, 2026 - 21:17 EUVD

DescriptionCVE.org

MongoDB Schema Manager and MongoDB Atlas SQL ODBC Driver do not validate the scheme of the authorization and token endpoints returned by an OIDC issuer's discovery document. A user induced to connect to an uncontrolled MongoDB deployment using MONGODB-OIDC authentication may have an uncontrolled URI dispatched to their operating system's default protocol handler, potentially exposing credentials or, under certain conditions, resulting in code execution in the user's context.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
Specialized MongoDB BI/SQL ODBC connector, not core MongoDB client
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

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

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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

CVE-2024-1351 CRITICAL
9.8 Mar 07

Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma

CVE-2020-7610 CRITICAL
9.8 Mar 30

All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8

CVE-2026-19001 CRITICAL
9.5 Aug 12

Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or

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