Medium · published July 23, 2026
A user with read-only privileges is able to craft an aggregation pipeline using the $linearFill window function operator with a specific sortBy expression type to cause the mongod process to terminate abnormally, resulting in denial of service. The issue stems from insufficient validation of sort specifications during execution.
| 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 |