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.
{
"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"
}
]
}