Incorrect authorization from a discarded default scope in Mongoid
- State
- Published
- Severity
- 8.6 High
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 23, 2026
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.
| Product | Versions |
|---|---|
| Ruby Driver MongoDB | 4.0.0 to before 9.1.3 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.6 High | mongodb | |
| 3.1 | 8.1 High | mongodb |
Weaknesses
- CWE-863 Incorrect Authorization
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.