Read the docs

Credentials exposed in MongoDB C# Driver parse-error messages

Priority LOW 25CWE-209Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
High
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

MongoDB C# Driver versions from 2.0.0 before 3.14.1 can include a caller-supplied connection configuration value in the text of an error raised when that value cannot be interpreted. The redaction applied to that text does not cover all forms of secret material, so authentication material in the configuration can remain in the error text and in logs that record it. A local user with low privileges who can view the application's error output or logs can read this sensitive information, and no database credentials or server connectivity are needed. This weakness is classified as CWE-209.

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

Description from the CNA

A MongoDB C# Driver component that interprets connection configuration supplied by the hosting application can include the caller-supplied configuration value in the text of the error it raises when that value cannot be interpreted. The redaction applied to that text does not cover all forms in which secret material may appear, so authentication material embedded in the configuration value can be preserved in the resulting error text and in anything that records it. Exploitation requires only the low privilege needed to observe the application's own error output or logs on the system where the driver runs; no database credentials or server connectivity are required. The result is disclosure of sensitive information to parties whose access to error output is broader than their intended access to the configuration secret.

Why it matters now

EPSS 0.00138 1st percentileScored 2026-11-30
Fix Fixed C# Driver (MongoDB): 3.14.1

SSVC decision points

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

Affected products

VendorProductAffected versionsFixed inStatusSource
MongoDBC# Driver2.0.0 to before 3.14.13.14.1Patch availableCNA
  • C# Driver VendorMongoDB Affected 2.0.0 to before 3.14.1 Fixed in 3.14.1 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 version 3.14.1 or later.

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

  • Fix · CNA C# Driver (MongoDB) Fixed in 3.14.1

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    MongoDB C# Driver 3.14.1

    3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW

    Other records, highest priority first

    • TI-2026-95138 Improper delimiter handling in MongoDB C# driver DNS SRV lookupsPriority MEDIUM 42
    • TI-2026-95137 MongoDB C# Driver misreads SASL PLAIN credentials with NUL bytesPriority LOW 28

Timeline

  1. 2026-11-19 Threatist record created from CVE-2026-129936
  2. 2026-11-19 Alias added: GHSA-4h4j-mcw3-qmp5

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