{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:mongodb:c\\#_driver:*:*:*:*:*:mongodb:*:*",
            "extracted_events": [
              {
                "introduced": "2.10.0"
              },
              {
                "fixed": "3.11.1"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "569905ff5e778c38ea19d9d0392496a83e1704ed"
            },
            {
              "fixed": "682ad0faea0a03648ee2c4ca8f48c3b04f4c9ab8"
            }
          ],
          "repo": "https://github.com/mongodb/mongo-csharp-driver",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mongodb",
    "cwe_ids": [
      "CWE-532"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81530.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "2.10.0"
          },
          {
            "fixed": "3.11.1"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-81530",
  "modified": "2026-10-01T03:31:06.138181299Z",
  "published": "2026-08-27T18:32:32.877Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://jira.mongodb.org/browse/CSHARP-6164"
    },
    {
      "type": "WEB",
      "url": "https://www.nuget.org/packages/MongoDB.Driver/3.11.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81530.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-81530"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "KMS master key exposure via unredacted credential serialization in driver settings string"
}