CVE-2026-6691

HIGH CVSS 4.0: 8.6 EPSS 0.13%
Updated Oct 26, 2026
MongoDB
Parameter Value
CVSS 8.6 (HIGH)
Affected Versions 2.1.0 — 2.1.2
Fixed In 2.1.2
Type CWE-787 (Out-of-bounds Write), CWE-120 (Buffer Copy without Checking Size)
Vendor MongoDB
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Mongodb C_Driver
cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*
2.1.0 2.1.2