NetSight
medium5.7

CVE-2026-129927

A credential-handling weakness in the MongoDB Python Driver allows a configuration option value that protects private key material to be written in clear text …

Impact

A credential-handling weakness in the MongoDB Python Driver allows a configuration option value that protects private key material to be written in clear text into the embedding application's own output and log records when a driver object is converted to text. A party able to read that output may obtain the credential. Obtaining it requires read access to the application's local output or log files.

An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read.

Affected products · MongoDB

ProductAffected versions
Python Driver
from 3.1 before 4.20.1

Weakness classification

References