What’s Vulnerable › Vulnerabilities

CVE-2026-6691: MongoDB C Driver Cyrus SASL Canonicalization Buffer Overflow

Description

The MongoDB C Driver's Cyrus SASL integration performs unsafe string copying during username canonicalization, enabling a heap buffer overflow before any authentication or network traffic. This may be triggered by passing untrusted input in the username of a MongoDB URI with authMechanism=GSSAPI.

Affected products

How to fix

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

References

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