Description
A weakness in the MongoDB C Driver allows special elements in caller-supplied database and collection name components to pass without sanitization when the driver composes the target namespace for an operation. An application that incorporates untrusted input into these name components can have operations directed at a resource other than the one intended.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MongoDB | C Driver | 1.0.0 – < 2.5.1 | 2.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-c-driver | 2.5.1-1 | — |
| Debian 13 | mongo-c-driver | 1.30.4-1+deb13u3 | — |
| Debian 12 | mongo-c-driver | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | mongo-c-driver | No fix yet | — |
| Ubuntu 26.04 LTS | mongo-c-driver | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | mongo-c-driver | No fix yet | — |
| Ubuntu Pro 22.04 LTS | mongo-c-driver | No fix yet | — |
| Ubuntu Pro 20.04 LTS | mongo-c-driver | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | mongo-c-driver | 2.5.1-1.1 | openSUSE-SU-2026:11671-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | mongo-c-driver | 1.30.14-r0 | — |
Advisories 2
- WID-SEC-2026-3066 MongoDB Clients: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 16, 2026
- openSUSE-SU-2026:11671-1 bson-devel-2.5.1-1.1 on GA media SUSE / openSUSE Security Updates · Sep 3, 2026