Skip to main content
← All vulnerabilities
CVE-2026-81528

NoSQL injection via array replacement bypassing update shape validation in driver write path

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.11.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MongoDB C# Driver

    From 2.9.0 · fixed in 3.11.1

References 2

jira.mongodb.org

nuget.org