CVE-2026-6691Published May 6, 2026 · May 6Updated Oct 28
MongoDB C Driver Cyrus SASL Canonicalization Buffer Overflow
MongoDB Inc. MongoDB C Driver
High8.6Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| MongoDB Inc. MongoDB C Driver |
| No fix yet |
Original 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.
From the CVE record · mongodb