Description
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.
Published: 2026-10-08
Score: 6 Medium
EPSS: n/a
KEV: No
Impact: Unintended Data Disclosure and Rename
Action: Assess Impact
AI Analysis

Impact

The MongoDB C++ Driver discards content after an embedded NUL byte in field and collection names supplied to the driver. This truncation creates a source‑output confusion vulnerability where the driver and the calling application interpret the same name differently. As a result, an authenticated user with the ability to influence a name can cause the application to read from an unintended field or rename an unintended collection, exposing confidential data or altering database objects. The flaw relies solely on the application’s existing database credentials and does not require higher privileges.

Affected Systems

MongoDB C++ Driver is the affected product. No specific affected versions are listed, so the issue applies to all releases that contain the described truncation behavior.

Risk and Exploitability

The CVSS score of 6.0 indicates medium severity. EPSS is not available and the vulnerability is not listed in CISA’s KEV catalog, suggesting no documented public exploitation at the time of the advisory. The likely attack vector is an authenticated actor who can specify collection or field names; by including an embedded NUL byte the driver truncates the name while the application uses the full string, leading to unintended data access or object renaming. The risk is bounded to accounts that possess write or administrative rights on the database.

Generated by OpenCVE AI on October 8, 2026 at 20:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the MongoDB C++ Driver to a version that addresses the NUL truncation issue when it becomes available.
  • Validate all collection and field names in the application to reject or strip embedded NUL bytes before passing them to the driver.
  • Enforce least‑privilege database credentials; restrict user rights so that only trusted accounts can rename collections or access sensitive fields.

Generated by OpenCVE AI on October 8, 2026 at 20:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 08 Oct 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb c++ Driver
Vendors & Products Mongodb
Mongodb c++ Driver

Thu, 08 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 08 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Query and rename target confusion via embedded NUL truncation in MongoDB C++ Driver
Weaknesses CWE-436
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N'}

cvssV4_0

{'score': 6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Mongodb C++ Driver
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-10-08T19:25:15.316Z

Reserved: 2026-10-06T16:40:35.016Z

Link: CVE-2026-106430

cve-icon Vulnrichment

Updated: 2026-10-08T19:25:10.850Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-08T19:16:58.910

Modified: 2026-10-08T20:49:23.240

Link: CVE-2026-106430

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-08T20:30:18Z

Weaknesses