CVE-2026-135141: Incorrect authorization from a discarded default scope in Mongoid

Published Nov 25, 2026
·
Updated

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 Software

1 affected component
rubygems/mongoid

Event History

Nov 25, 2026
CVE Published
via MITRE·05:44 PM
Data Sourced
via MITRE·05:44 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using the Mongoid Ruby gem are exposed where a model-level default restriction is intended to return no records. The vulnerable behavior can allow users with basic application privileges to access records that the application expected that restriction to withhold.

2

What does an attacker need to exploit it?

An attacker needs basic application privileges and the ability to send an ordinary application request that reaches a query affected by the model-level default restriction. No user interaction is required.

3

What actions could an attacker perform?

The flaw may allow reading, modifying, or deleting records that should have been excluded by the default restriction. Availability impact is not indicated by the supplied severity vector.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203