CVE-2026-114647
NoSQL operator injection via unvalidated replacement document in findOneAndReplace
- State
- Published
- Severity
- 5.3 Medium
- Published
- Oct 22, 2026
- Updated
- Oct 22, 2026
- Reserved
- Oct 21, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 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 | 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 | mongodb |
Weaknesses
- CWE-943 Improper Neutralization of Special Elements in Data Query Logic
Affected Products
| Product | Versions |
|---|---|
C# DriverMongoDB |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.