High · published September 18, 2026
Mongoid does not restrict which query operators may come from caller-supplied filter data when an application hands that data to its query-building methods. In an application that forwards externally supplied filter parameters in this way, a party with no credentials may influence how the database evaluates the query. This may result in unintended disclosure of stored field values and in reduced database performance.
| Product | Versions | Fixed in |
|---|---|---|
| mongodb/mongoid | ≥ 8.0.0, < 8.0.13 | 8.0.13 |
| mongodb/mongoid | ≥ 8.1.0, < 8.1.13 | 8.1.13 |
| mongodb/mongoid | ≥ 9.0.0, < 9.0.12 | 9.0.12 |
| mongodb/mongoid | all versions | — |