MongoDB C++ Driver Namespace Injection Enables Limited Unauthorized Access
CVE-2026-81522 Published on August 27, 2026

Cross-tenant database retargeting via dot/NUL injection in namespace strings in the C++ Driver
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.

NVD

Vulnerability Analysis

CVE-2026-81522 is exploitable with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
LOW
User Interaction:
NONE

Weakness Type

What is an Output Sanitization Vulnerability?

The software prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.

CVE-2026-81522 has been classified to as an Output Sanitization vulnerability or weakness.


Products Associated with CVE-2026-81522

Want to know whenever a new CVE is published for MongoDB C Driver? stack.watch will email you.

 

Affected Versions

MongoDB C++ Driver: