Skip to main content

MongoDB Schema Builder CLI EUVDEUVD-2026-57549

| CVE-2026-19502 MEDIUM
Insertion of Sensitive Information into Log File (CWE-532)
2026-08-12 mongodb GHSA-wx8h-2jpv-xvwr
6.8
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Gain low-privilege local OS account
  2. Delivery
    Locate CLI log file or shared terminal session
  3. Exploit
    Read plaintext credential from diagnostic output
  4. Execution
    Authenticate to MongoDB instance with harvested credentials
  5. Impact
    Access or exfiltrate database contents

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
Exploitation Conditions

Exploitation requires local access to the host running the MongoDB SQL Schema Builder CLI with at least a low-privilege OS account (CVSS PR:L, AV:L). The log file attack path additionally requires that file logging be enabled in the CLI configuration and that the attacker have filesystem read access to the log directory - which may be granted by default group permissions or misconfigured ACLs. The terminal session attack path requires the attacker to share the terminal or have access to terminal session recordings. Exploitation is further extended - without requiring additional privileges - if log files are forwarded to any centralized system accessible to a broader audience. Exploitation does not require network access, special tooling, or any interaction from the operator after startup.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N) accurately captures the threat model: exploitation is local, requires only low-privilege access, and yields high confidentiality impact with no integrity or availability consequence. The primary risk amplifier is log forwarding - if the CLI's log files are shipped to a centralized system, the effective attack surface expands from a single host to anyone with access to that aggregation platform. No public exploit code has been identified and this CVE is not listed in the CISA KEV catalog, so opportunistic mass exploitation is not a current concern. EPSS data was not provided in the input. Despite the moderate CVSS score, organizations running the SQL Schema Builder CLI in environments with shared local accounts, centralized log collection, or multi-tenant infrastructure should treat credential rotation as urgent, since exposed credentials grant direct database access independent of this CLI. No signals conflict in this case - the local vector, low privilege requirement, and confidentiality-only impact are mutually consistent and well-supported by the description.

Exploit ScenarioDerived

An operator starts the MongoDB SQL Schema Builder CLI with database credentials supplied as connection string arguments or environment-sourced configuration; the CLI prints the startup configuration - including those credentials in plaintext - to the terminal and to its log file. A second local user on the same host, or an analyst with access to a SIEM where those logs were forwarded, reads the log file and extracts the MongoDB username and password. No public exploit code is required; this is a passive read of accessible files.

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

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

Alert me

AnalysisAIv1 – Aug 12, 2026

Plaintext credential exposure in MongoDB SQL Schema Builder CLI allows local users to read authentication material from diagnostic output or log files. The CLI writes its startup configuration - including connection settings containing authentication credentials - to standard output and optionally to a log file on disk without redacting sensitive values. Any local user with read access to the terminal session, the log directory, or a downstream log aggregation system can harvest those credentials and use them to authenticate to the connected MongoDB instance.

RemediationAI

Consult the MongoDB SQL interface changelog at https://www.mongodb.com/docs/sql-interface/changelog for the specific patched version and upgrade immediately. Until a confirmed fixed version is identified and applied, operators should rotate any credentials that may have been written to logs or terminal output since the CLI was first deployed - assume those values are compromised. As an immediate compensating control, restrict log file permissions to the owning service account only (chmod 600 or equivalent) and audit log forwarding pipelines to ensure CLI log files are excluded from shipment to centralized aggregators. If file logging is not required, disable it via the CLI's logging configuration to eliminate the on-disk exposure path. Note that disabling file logging does not eliminate the stdout exposure path if the terminal session is shared or recorded. No specific workaround eliminates the stdout path other than piping output to /dev/null, which would also suppress legitimate diagnostic information.

Affected VersionsENISA

Schema Builder CLI 1.0.0 <1.2.1

Affected Packages

euvd schema_builder_cli fix: 1.2.1

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 SQL Schema Builder CLI (CPE: cpe:2.3:a:mongodb:schema_builder_cli:*:*:*:*:*:*:*:*) is a command-line tool within MongoDB's SQL interface layer, used by operators to configure and manage schema mappings. CWE-532 (Insertion of Sensitive Information into Log File) describes the root cause: the application logs its runtime configuration at startup - a common observability pattern - but fails to redact or mask authentication-bearing fields such as connection strings, usernames, or passwords before writing them to stdout or the configured log destination. This class of flaw is particularly dangerous because log files often have broader read permissions than the application's runtime secrets, are frequently shipped to centralized log aggregators (SIEM, Splunk, ELK), and may be retained for extended periods, dramatically expanding the attack surface beyond the immediate host.

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

Local attack vector with low-privilege OS access required; impact is confidentiality-only via passive read of unredacted log or terminal output.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
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 SQL Schema Builder CLI records its startup configuration to standard output and, when file logging is enabled, to a log file on disk. Certain connection settings were written without redaction, so authentication material supplied by the operator could appear in plaintext in that diagnostic output. A local user with read access to the terminal session or the log directory, or anyone with access to a location where those logs are subsequently collected, could obtain those values.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
niche SQL-to-MongoDB interface CLI tool
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.1%
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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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