What’s Vulnerable › Vulnerabilities

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

Description

A weakness in the MongoDB C Driver allows special elements in caller-supplied database and collection name components to pass without sanitization when the driver composes the target namespace for an operation. An application that incorporates untrusted input into these name components can have operations directed at a resource other than the one intended.

Affected products

How to fix

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

References

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