Public vulnerability disclosure
CVE-2026-114647
NoSQL operator injection via unvalidated replacement document in findOneAndReplace
publishedCWE-943
The MongoDB C# Driver does not reject replacement documents whose top-level field names begin with a dollar sign in FindOneAndReplace, unlike other replace operations. An application that builds such a document from user-supplied field names can have the server apply update operators instead of a full replacement. The effect is limited to the document matched by the application's own filter, whose contents can be modified in ways the application did not intend.
Technical severity5.3 mediumCVSS 4.0 · CNA: mongodb
Published2026-10-22Source updated 2026-11-02
Collected2026-11-022 attributed sources
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| C# Driver MongoDB |
≥ 2.13.0; < 3.13.0 (affected, semver)
Other versions: unaffected |
CNA: mongodb |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 5.3 medium |
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | CNA: mongodb |
| 3.1 / 4.3 medium |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N | CNA: mongodb |
Exploit evidence
- https://github.com/mongodb/mongo-csharp-driver/security/advisories/GHSA-68cj-624m-mxj3
exploit · ADP: CISA-ADP
References
- https://jira.mongodb.org/browse/CSHARP-6186CNA: mongodb
- https://github.com/mongodb/mongo-csharp-driver/releases/tag/v3.13.0CNA: mongodb
- https://github.com/mongodb/mongo-csharp-driver/security/advisories/GHSA-68cj-624m-mxj3CNA: mongodb
- https://github.com/mongodb/mongo-csharp-driver/security/advisories/GHSA-68cj-624m-mxj3ADP: CISA-ADP · exploit