{"id":"CVE-2026-114647","summary":"NoSQL operator injection via unvalidated replacement document in findOneAndReplace","details":"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.","aliases":["GHSA-68cj-624m-mxj3"],"modified":"2026-11-04T02:30:52.347052103Z","published":"2026-10-22T19:13:51.972Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114647.json","cna_assigner":"mongodb","cwe_ids":["CWE-943"]},"references":[{"type":"WEB","url":"https://github.com/mongodb/mongo-csharp-driver/releases/tag/v3.13.0"},{"type":"WEB","url":"https://jira.mongodb.org/browse/CSHARP-6186"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114647.json"},{"type":"ADVISORY","url":"https://github.com/mongodb/mongo-csharp-driver/security/advisories/GHSA-68cj-624m-mxj3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114647"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mongodb/mongo-csharp-driver","events":[{"introduced":"c04e50a455112fd71df86991024ff66bec1fab97"},{"fixed":"0f6c2b978ad14d38924a78f271875e148af4e053"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"2.13.0"},{"fixed":"3.13.0"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"0f6c2b978ad14d38924a78f271875e148af4e053"}],"source":"REFERENCES_TAG","original_tag":"v3.13.0"}]}}],"versions":["v3.12.0","v3.11.2","v3.11.1","v3.11.0","v3.10.0","v3.9.0","v3.8.0","v3.7.1","v3.7.0","v3.6.0","v3.5.0","v3.4.0","v3.3.0","v3.2.1","v3.2.0","v3.1.0","v3.0.0","v2.28.0","v2.27.0","v2.26.0","v2.25.0","v2.24.0","v2.23.1","v2.23.0","v2.22.0","v2.21.0","v2.20.0","v2.19.0","v2.18.0","v2.17.0","v2.16.0","v2.15.0","v2.14.0","v2.14.0-beta1","v2.13.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-114647.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}