CVE Watchtower

CVE-2026-129927MongoDB Python Driver Insertion of Sensitive Information into Log File

NVD

Vulnerability Summary

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.
Severity Level
MEDIUM(5.7)
Published Date
Nov 19, 2026
Last Modified
Nov 19, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.15%Probability
Root Weakness (CWE)
The product writes sensitive information to a log file.
CVSS v4.0 Base Metrics — Score 5.7 (MEDIUM)
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Attack VectorLocal
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 5.5)
CVSS v3.1 Base Metrics — Score 5.5 (MEDIUM)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • MongoDB Python Driver >= 3.1 and < 4.20.1
Patched Versions
  • MongoDB Python Driver 4.20.1

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run MongoDB Python Driver and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 19, 2026Published
  • Nov 19, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new MongoDB Python Driver CVEsYou are reading CVE-2026-129927. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

External References

Data last checked: Nov 24, 2026 15:13 UTC