CVE-2026-6691
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-05-06
- Last modified
- 2026-10-26
- Assigned by
- cna@mongodb.com
- CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:- Scored by
- cna@mongodb.com
- Probability of exploitation
-
0.1 %
higher than 3 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Mongodb | C Driver | ≥ 2.1.0, < 2.1.2 | Affected |
Weakness type
-
CWE-787: Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
-
CWE-120: Buffer Copy without Checking Size of Input
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
References
Related at Berigo
Articles
-
The industrial software shipped with a database that went out of date years ago
Same product
2026-08-07
CISA published three new industrial control system advisories on 6 August 2026. The weightiest concerns ABB Ability Zenon, where the IIoT services in…
-
Critical flaw in Ruflo gave command execution through an open MCP bridge
Same product
2026-08-03
Noma Labs published CVE-2026-59726 on 29 July 2026, a vulnerability scoring 10.0 in Ruflo, a platform for orchestrating AI agents. In the default set…
-
Critical Ruflo vulnerability gives command execution without login
Same product
2026-07-31
On 29 July 2026 Noma Labs disclosed CVE-2026-59726, a vulnerability scored 10.0 in Ruflo. In the default Docker Compose deployment the platform MCP b…
-
PCPJack spreads through cloud estates and steals credentials
Same product
2026-05-08
SentinelLABS has identified PCPJack, a framework that spreads between exposed cloud services and harvests credentials at scale.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.