Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-106430 EUVD-2026-95155

Query and rename target confusion via embedded NUL truncation in MongoDB C++ Driver

Published Oct 8, 2026 · Updated Oct 8, 2026 · Assigned by mongodb

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.

Affected products

VendorProductAffectedFixed
MongoDB C++ Driver 3.0.0 – < 4.6.1 4.6.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mongo-cxx-driver 4.6.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 mongo-cxx-driver No fix yet —

Advisories 1

References