{
  "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-943"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81528.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "2.9.0"
          },
          {
            "fixed": "3.11.1"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "A MongoDB C# driver document-replacement code path omits the element-name/shape validation that the equivalent write paths apply, so a value supplied as a replacement is forwarded to the server without neutralization of query-language special elements. An application that passes untrusted, loosely-typed input as a replacement value therefore allows that input to be interpreted by the database as update logic rather than as data, executing under the application's own database credentials. Applications using strongly-typed document mappings are not affected.",
  "id": "CVE-2026-81528",
  "modified": "2026-10-01T03:31:10.843219452Z",
  "published": "2026-08-27T18:32:30.215Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://jira.mongodb.org/browse/CSHARP-6158"
    },
    {
      "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-81528.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-81528"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "NoSQL injection via array replacement bypassing update shape validation in driver write path"
}