Medium · published July 23, 2026
An authenticated user with read access can cause the mongod process to be terminated through certain aggregation expressions that execute server-side JavaScript. The issue involves improper memory handling during document processing.
| Product | Versions | Fixed in |
|---|---|---|
| mongodb/mongodb | ≥ 7.0.0, < 7.0.39 | 7.0.39 |
| mongodb/mongodb | ≥ 8.0.0, < 8.0.28 | 8.0.28 |
| mongodb/mongodb | ≥ 8.2.0, < 8.2.12 | 8.2.12 |
| mongodb/mongodb | ≥ 8.3.0, < 8.3.7 | 8.3.7 |