What’s Vulnerable › Vulnerabilities

CVE-2026-81529: Connection-option injection via unescaped settings in the canonical MongoDB URL builder

Description

Improper neutralization of delimiters in connection-URL construction allows connection-option injection in the MongoDB C# Driver. When an application passes untrusted text into the driver's connection-URL builder and round-trips the builder back into a client configuration, the untrusted text is serialized without neutralizing the URL/option delimiters and is then re-parsed as authoritative connection options. A low-privileged user of such an application can thereby introduce or suppress security-relevant connection settings.

Affected products

How to fix

Upgrade to a fixed version: MongoDB Inc MongoDB .NET/C# Driver 3.11.1. Check the vendor advisory for mitigations.

References

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