What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: MongoDB C++ Driver 4.6.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-106430 or the next vulnerability affects your stack