Description
Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Java Driver can cause a caller-supplied structured file identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence the identifier passed by an affected application may obtain stored file content beyond the intended target or cause all GridFS file chunks in the affected bucket to be removed, rendering stored file content unreadable. The affected rename operation may also rename a stored file other than the intended target.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MongoDB | Java Driver | 3.3.0 – < 5.11.1 | 5.11.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-java-driver | No fix yet | — |
| Debian 13 | mongo-java-driver | No fix yet | — |
| Debian 12 | mongo-java-driver | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | mongo-java-driver | No fix yet | — |
| Ubuntu 26.04 LTS | mongo-java-driver | No fix yet | — |
| Ubuntu 24.04 LTS | mongo-java-driver | No fix yet | — |
| Ubuntu 22.04 LTS | mongo-java-driver | No fix yet | — |
| Ubuntu 20.04 LTS | mongo-java-driver | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | mongo-java-driver | No fix yet | — |
| Ubuntu 16.04 LTS | mongo-java-driver | No fix yet | — |
Advisories 1
- WID-SEC-2026-3320 MongoDB: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026