CVE-2026-81528

Medium

Description

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductMongodb C\# Driver
PublishedAug 27, 2026
First seenAug 27, 2026
Weakness typeCWE-943CWE-943

How to fix

Update
  • mongodb c\#_driver3.11.1 or later

Affected products

ProductAffected versionsFixed in
mongodb c\#_driver2.10.0 ≤ v < 3.11.13.11.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.