Description
A weakness in the client-side encryption configuration surface of the MongoDB C# Driver causes sensitive key-management credential material supplied by the application to be reproduced verbatim in the driver's human-readable diagnostic representation of its client settings, instead of being masked as other secret fields are. A party able to read the application's logs, diagnostic output, or a process memory dump may thereby recover the plaintext credentials and use them to decrypt protected field data.
Published: 2026-08-27
Score: 6.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The MongoDB C# Driver’s client‑side encryption configuration stores sensitive key‑management credentials in its human‑readable client settings string without masking them, while other secret fields are masked. If an attacker can read the application’s logs, diagnostic output, or obtain a process memory dump, they may recover those plaintext credentials and use them to decrypt protected data. This flaw aligns with CWE‑532, representing inappropriate handling of sensitive information.

Affected Systems

Affected systems are applications that use the MongoDB C# Driver, specifically the product listed as MongoDB C# Driver. Vulnerable versions include the NuGet package 3.11.1, and potentially any releases prior to the patch that addressed this serialization issue. To determine exact scope, review your deployment for versions 3.11.1 or earlier and apply an updated driver that contains the fix.

Risk and Exploitability

This vulnerability carries a CVSS score of 6.8, indicating medium severity. The EPSS score is not available, and it is not listed in the CISA KEV catalog. Exploitation requires access to the host’s log files or memory; if the application logs or diagnostics are exposed to a non‑privileged user or attacker, the risk is elevated. The attacker would obtain the key‑management credentials and thus compromise any data encrypted by the driver, leading to confidentiality loss of sensitive fields.

Generated by OpenCVE AI on August 28, 2026 at 08:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the MongoDB C# Driver to the latest released version (3.11.2 or newer) where the credential serialization redaction bug has been fixed.
  • If an immediate upgrade is not possible, configure the application so that key‑management credentials are not included in any human‑readable logs or diagnostic output; ensure these values are only passed in memory and never serialized to logs.
  • Implement monitoring and sanitization of log files to detect any accidental exposure of plaintext credentials, and consider using environment variables or secret management services to inject credentials at runtime without logging them.

Generated by OpenCVE AI on August 28, 2026 at 08:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 07:45:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb c# Driver
Vendors & Products Mongodb
Mongodb c# Driver

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description A weakness in the client-side encryption configuration surface of the MongoDB C# Driver causes sensitive key-management credential material supplied by the application to be reproduced verbatim in the driver's human-readable diagnostic representation of its client settings, instead of being masked as other secret fields are. A party able to read the application's logs, diagnostic output, or a process memory dump may thereby recover the plaintext credentials and use them to decrypt protected field data.
Title KMS master key exposure via unredacted credential serialization in driver settings string
Weaknesses CWE-532
References
Metrics cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N'}


Subscriptions

Mongodb C# Driver
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-08-27T22:34:52.470Z

Reserved: 2026-08-26T22:14:35.993Z

Link: CVE-2026-81530

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-27T20:18:51.620

Modified: 2026-08-28T00:18:21.483

Link: CVE-2026-81530

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T07:30:07Z

Weaknesses
  • CWE-532

    Insertion of Sensitive Information into Log File