Read the docs

Unmasked connection string values in MongoDB C Driver error messages

Priority LOW 29CWE-209Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-209.

Summary

The MongoDB C Driver writes a submitted connection-string option value into a diagnostic message without redaction when that option fails validation. The message goes to the calling application and to standard error through the driver's default logging, which exposes sensitive data (CWE-209). A party that can influence the connection string given to an application using the driver can cause that field's contents to be recorded, disclosing information the application placed in it.

Written with Claude Haiku 5.5 from the sources below · 2026-11-19

Description from the CNA

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.

Why it matters now

EPSS 0.00154 2nd percentileScored 2026-11-30
Fix Fixed C Driver (MongoDB): 1.30.16, 2.5.9

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
MongoDBC Driver1.9.0 to before 1.30.16; 2.0.0 to before 2.5.91.30.16, 2.5.9Patch availableCNA
  • C Driver VendorMongoDB Affected 1.9.0 to before 1.30.16; 2.0.0 to before 2.5.9 Fixed in 1.30.16, 2.5.9 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:*:*:*——MongoDB
  • cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:*:*:* Versions — — ·MongoDB

Remediation

Upgrade MongoDB C Driver to 1.30.16 for the 1.x line or 2.5.9 for the 2.x line. The sources list no fixed version for other releases.

Written with Claude Haiku 5.5 from the sources below · 2026-11-19

  • Fix · CNA C Driver (MongoDB) Fixed in 1.30.16, 2.5.9

Timeline

  1. 2026-11-19 Threatist record created from CVE-2026-129939

References

  • TI-2019-08023 Remote code execution in mongo-express via toBSON endpoints KEVCVSS 3.1CRITICAL 9.9
  • TI-2025-13542 Zlib header length mismatch in MongoDB Server allows memory read KEVCVSS 4.0HIGH 8.7
  • TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative Command CVSS 4.0HIGH 8.6
  • TI-2026-89289 Incorrect authorization in MongoDB Server allows admin access CVSS 4.0HIGH 8.6
  • TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
  • TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
See all 449 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences