MongoDB C# Driver NoSQL operator injection in findOneAndReplace
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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 cause the server to 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. CISA's SSVC rates exploitation as PoC, automatable as no, and technical impact as partial.
Written with Claude Haiku 5.5 from the sources below · 2026-11-02
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade the MongoDB C# Driver to version 3.13.0 or later. Affected versions are 2.13.0 up to but not including 3.13.0.
Written with Claude Haiku 5.5 from the sources below · 2026-11-02
- Fix · CNA C# Driver (MongoDB) Fixed in 3.13.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
MongoDB C# Driver 3.13.0
11 records Highest priority Priority HIGH 5 HIGH, 6 MEDIUM
Other records, highest priority first
- TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# DriverPriority HIGH 70
- TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# DriverPriority HIGH 70
- TI-2026-79422 Unbounded memory growth in MongoDB C# Driver BSON deserializationPriority HIGH 69
Timeline
- 2026-10-22 Threatist record created from CVE-2026-114647
- 2026-10-23 1 new reference · CNA
- 2026-11-02 CISA SSVC decision points changed
- 2026-11-02 Priority changed: LOW → MEDIUM
References
More MongoDB vulnerabilities
- TI-2019-08023 Code injection in mongo-express KEVCVSS 3.1CRITICAL 9.9
- TI-2025-13542 Zlib compressed protocol header length confusion may allow memory read KEVCVSS 4.0HIGH 8.7
- TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
- TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
- TI-2026-79422 Unbounded memory growth in MongoDB C# Driver BSON deserialization CVSS 4.0HIGH 8.2
- TI-2026-79427 Authentication bypass via issuer-and-serial-only certificate equality CVSS 4.0HIGH 7.6
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences