---
id: CVE-2026-106430
title: >-
  The MongoDB C++ Driver discards content after an embedded NUL byte in certain
  field and collection names accepted by the collection API
summary: >-
  The MongoDB C++ Driver discards content after an embedded NUL byte in certain
  field and collection names accepted by the collection API. This can cause the
  driver and the calling application to interpret the same name differently. An
  aut…
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N'
cwe:
  - CWE-436
published: '2026-10-08'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T20:49:23.240'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-106430'
references:
  - url: 'https://jira.mongodb.org/browse/CXX-3551'
    label: cna@mongodb.com
  - url: 'https://jira.mongodb.org/browse/CXX-3552'
    label: cna@mongodb.com
tags:
  - nvd
ingestedAt: '2026-10-08T20:06:22.182Z'
---

## Overview

The MongoDB C++ Driver discards content after an embedded NUL byte in certain field and collection names accepted by the collection API. This can cause the driver and the calling application to interpret the same name differently. An authenticated actor who can influence a name passed by an affected application can cause the application to read distinct values from an unintended field or rename an unintended collection. These operations use the application's existing database credentials.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
