Description
Incorrect validation of files loaded from a local untrusted directory may allow local privilege escalation if the underlying operating systems is Windows. This may result in the application executing arbitrary behaviour determined by the contents of untrusted files. This issue affects MongoDB Server v5.0 versions prior to 5.0.27, MongoDB Server v6.0 versions prior to 6.0.16, MongoDB Server v7.0 versions prior to 7.0.12, MongoDB Server v7.3 versions prior 7.3.3, MongoDB C Driver versions prior to 1.26.2 and MongoDB PHP Driver versions prior to 1.18.1.
Required Configuration:
Only environments with Windows as the underlying operating system is affected by this issue
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MongoDB | MongoDB Server | 5.0 – < 5.0.27, 6.0 – < 6.0.16, 7.0 – < 7.0.12, 7.3 – < 7.3.3 | 5.0.27 |
| MongoDB | MongoDB C Driver | < 1.26.2 | 1.26.2 |
| MongoDB | MongoDB PHP Driver | < 1.18.1 | 1.18.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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | php-mongodb +1 | No fix yet | — |
| Ubuntu 22.04 LTS | php-mongodb +1 | No fix yet | — |
| Ubuntu 20.04 LTS | php-mongodb | No fix yet | — |
| Ubuntu 18.04 LTS | php-mongodb | No fix yet | — |
| Ubuntu 16.04 LTS | php-mongodb | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | mongodb +1 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | mongodb | No fix yet | — |
| Ubuntu Pro 16.04 LTS | mongodb | No fix yet | — |
| Ubuntu Pro 14.04 LTS | mongodb | No fix yet | — |
Advisories 1
- WID-SEC-2024-1792 MongoDB: Schwachstelle ermöglicht Privilegieneskalation BSI CERT-Bund (WID) · Oct 1, 2025