What’s Vulnerable › Vulnerabilities

CVE-2026-81522: Cross-tenant database retargeting via dot/NUL injection in namespace strings in the C++ Driver

Description

A weakness in the MongoDB C++ Driver's handling of caller-supplied namespace identifiers allows special characters embedded in those identifiers. An application that builds a namespace identifier from untrusted input without validating it may therefore have its operation directed at a different target than intended. This can result in limited unauthorized read and write access to data belonging to another logical tenant of the affected application.

Affected products

How to fix

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

References

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