{"id":"CVE-2026-81528","published":"2026-08-27T18:32:30Z","modified":"2026-08-28T15:45:22Z","title":"NoSQL injection via array replacement bypassing update shape validation in driver write path","vendor":"MongoDB","product":"C# Driver","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00279,"percentile":0.20893,"provenance":"source"},"cwes":[{"id":"CWE-943","name":"Improper Neutralization of Special Elements in Data Query Logic"}],"references":[{"url":"https://jira.mongodb.org/browse/CSHARP-6158","tags":[]},{"url":"https://www.nuget.org/packages/MongoDB.Driver/3.11.1","tags":[]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":4.18},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"mongodb","affectedVersions":[{"vendor":"MongoDB","product":"C# Driver","versions":[">= 2.9.0, < 3.11.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-28T15:45:07.396731Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-67212","exploited":false,"provenance":"source"}}