Description
In MongoDB Server 8.0, an aggregation stage can leave its _subPipeline field null during processing of certain pipelines. If a getMore is subsequently issued on the same cursor, the server may dereference this null sub-pipeline when reattaching to the operation context, accessing an invalid address and crashing the process. This issue allows an authenticated user who can run aggregation pipelines to cause a denial of service by issuing a specially crafted aggregation followed by getMore on affected versions.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MongoDB | MongoDB server | 8.0.0 – < 8.0.24 | 8.0.24 |
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 Pro 20.04 LTS | mongodb | No fix yet | — |
| Ubuntu Pro 18.04 LTS | mongodb | No fix yet | — |
| Ubuntu Pro 16.04 LTS | mongodb | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | mongodb | No fix yet | — |
Advisories 2
- NCSC-2026-0209 Kwetsbaarheden verholpen in MongoDB Server NCSC-NL (Netherlands) · Jun 23, 2026
- WID-SEC-2026-1868 MongoDB: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 10, 2026