high7.1
CVE-2026-120821
A use-after-free in the aggregation framework of MongoDB Server can occur when certain expressions are evaluated in an aggregation sub-pipeline.
Impact
A use-after-free in the aggregation framework of MongoDB Server can occur when certain expressions are evaluated in an aggregation sub-pipeline. The condition can be caused by an authenticated user with read privileges, and may result in the server terminating unexpectedly.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of outages.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| MongoDB | MongoDB Server | from 9.0.0 before 9.0.7 |
| MongoDB, Inc. | MongoDB Server | from 9.0.0 before 9.0.7 |