5.9Medium

CVE-2026-106430Query and rename target confusion via embedded NUL truncation in MongoDB C++ Driver

MongoDB C++ Driver Published: (1 month ago)

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.

Weakness (CWE): CWE-436

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
MongoDB C++ Driver 3.0.0 – < 4.6.1

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:mongodb:c\+\+_driver:*:*:*:*:*:mongodb:*:* ≥ 3.0.0 ≤ 4.6.1