NetSight
medium6.8

CVE-2026-129939

The MongoDB C Driver places a submitted connection-string option value into a diagnostic message without redaction when that option fails validation.

Impact

The MongoDB C Driver places a submitted connection-string option value into a diagnostic message without redaction when that option fails validation. The message is returned to the calling application and is also written to the process's standard error by the driver's default logging behavior. A party that can influence the connection string given to an application using the driver may cause that field's contents to be recorded, which may result in unintended disclosure of information the application placed in that field.

An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. If it succeeds: high risk of data being read.

Affected products

VendorProductAffected versions
MongoDBC Driver
from 1.9.0 before 1.30.16
from 2.0.0 before 2.5.9
MongoDB Inc.C Driver
from 1.9.0 before 1.30.16
from 2.0.0 before 2.5.9

Weakness classification

References