Skip to main content

MongoDB Schema Builder CLI CVE-2026-19502

| EUVDEUVD-2026-57549 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
Share

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

2
Patch available
Aug 12, 2026 - 21:17 EUVD
Analysis Generated
Aug 12, 2026 - 21:00 vuln.today

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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

Share

CVE-2026-19502 vulnerability details – vuln.today

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