CVE-2026-135141
Incorrect authorization from a discarded default scope in Mongoid
High · 8.6Fix available
- CVSS
- 8.6
- EPSS
- 0.51% (p37)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-25
- Product
- MongoDB Ruby Driver
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
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.
Fixed in
9.1.3
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Ruby Driver | >=4.0.0, <9.1.3 | 9.1.3 |