CVE-2026-135141
Incorrect authorization from a discarded default scope in Mongoid
8.6
Description
A logic flaw in the query-building layer of the Mongoid object-document mapper causes a model-level default restriction that is meant to return no records to be silently discarded when it is combined into a query. A user with basic application privileges who sends an ordinary request may read, change, or remove records that the restriction was intended to withhold.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| ruby driver | mongodb | 4.0.0 → <9.1.3 | 9.1.3 | CVE.org |