CVE-2026-135141 Incorrect authorization from a discarded default scope in Mongoid
HighCVSS 8.6
EPSS 0.51%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MongoDB Ruby Driver | >= 4.0.0, < 9.1.3 | 9.1.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB Ruby Driver | >= 4.0.0, < 9.1.3 | 9.1.3 |
References
- jira.mongodb.org
- ENISA EUVD EUVD-2026-135618 third-party-advisory
- nvd.nist.gov