CVE-2026-6691

MongoDB C Driver Cyrus SASL Canonicalization Buffer Overflow

HIGH
7.8
CVSS Score
Published: May 6, 2026 at 03:08 PM UTC
Updated: October 26, 2026 at 07:10 PM UTC
1 product affected across 1 vendorC++ Driver

Using MongoDB C Driver by MongoDB Inc.?

Get instant alerts when new vulnerabilities affect MongoDB C Driver - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.1.0 ≤ v < 2.1.22.1.0
Affected range stops below 2.1.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

PatchVendor AdvisoryIssue Tracking
Source: cverecord
https://jira.mongodb.org/browse/CDRIVER-6134

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHmongodb
Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-120CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card