{"id":"CVE-2026-81528","summary":"NoSQL injection via array replacement bypassing update shape validation in driver write path","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.","modified":"2026-10-01T03:47:39.491628730Z","published":"2026-08-27T18:32:30.215Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"2.9.0"},{"fixed":"3.11.1"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"mongodb","cwe_ids":["CWE-943"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81528.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mongodb/mongo-csharp-driver","events":[{"introduced":"569905ff5e778c38ea19d9d0392496a83e1704ed"},{"fixed":"682ad0faea0a03648ee2c4ca8f48c3b04f4c9ab8"}],"database_specific":{"cpe":"cpe:2.3:a:mongodb:c\\#_driver:*:*:*:*:*:mongodb:*:*","extracted_events":[{"introduced":"2.10.0"},{"fixed":"3.11.1"}],"source":"CPE_RANGE"}}],"versions":["v3.11.0","v3.10.0","v3.9.0","v3.8.0","v3.7.1","v3.7.0","v3.6.0","v3.5.0","v3.4.0","v3.3.0","v3.2.1","v3.2.0","v3.1.0","v3.0.0","v2.28.0","v2.27.0","v2.26.0","v2.25.0","v2.24.0","v2.23.1","v2.23.0","v2.22.0","v2.21.0","v2.20.0","v2.19.0","v2.18.0","v2.17.0","v2.16.0","v2.15.0","v2.14.0","v2.14.0-beta1","v2.13.0","v2.13.0-beta1","v2.12.0","v2.12.0-beta1","v2.11.0","v2.11.0-beta2","v2.11.0-beta1","v2.10.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81528.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","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"}]}