# CVE-2026-81528: NoSQL injection via array replacement bypassing update shape validation in driver write path

- Severity: Medium 5.3 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-08-27T18:32:30.215Z
- Modified: 2026-09-29T19:16:27.513Z
- Weaknesses: CWE-943
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## 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.

(As written by CVE List.)

## Affected

- MongoDB C# Driver: from 2.9.0 before 3.11.1
- mongodb c#_driver: from 2.10.0 before 3.11.1

## Every score

- mongodb: CVSS:4.0 5.3 Medium `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`
- mongodb: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://jira.mongodb.org/browse/CSHARP-6158> (vendor-advisory)
- <https://www.nuget.org/packages/MongoDB.Driver/3.11.1> (product)

## Sources

- CVE List: [CVE-2026-81528](https://www.cve.org/CVERecord?id=CVE-2026-81528), CVE Terms of Use, modified 2026-08-28
- NVD: [CVE-2026-81528](https://nvd.nist.gov/vuln/detail/CVE-2026-81528), Public domain, modified 2026-09-29

---

Page: https://cve.day/CVE-2026-81528 · Whole record: https://cve.day/CVE-2026-81528.json · Rebuilt by cve.day 2026-11-25T22:59:35.544Z
