Description
A weakness in the MongoDB C++ Driver's handling of caller-supplied namespace identifiers allows special characters embedded in those identifiers. An application that builds a namespace identifier from untrusted input without validating it may therefore have its operation directed at a different target than intended. This can result in limited unauthorized read and write access to data belonging to another logical tenant of the affected application.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MongoDB | C++ Driver | 3.0.0 – < 4.5.1 | 4.5.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mongo-cxx-driver | 4.5.1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | mongo-cxx-driver | No fix yet | — |
Advisories 1
- WID-SEC-2026-3066 MongoDB Clients: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 16, 2026