CVE-2026-114647: NoSQL operator injection via unvalidated replacement document in findOneAndReplace
Description
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.
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N · CWE-943
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
MongoDB: C# Driver
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/mongodb/mongo-csharp-driver/releases/tag/v3.13.0 (opens in new tab)
- github.com/mongodb/mongo-csharp-driver/security/advisories/GHSA-68cj-624m-mxj3 (opens in new tab)
- jira.mongodb.org/browse/CSHARP-6186 (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)