Skip to content
DayZeroHub
High Not yet writtenCVSS 8.6CVE-2026-135141

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

MongoDB Ruby Driver

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-135141: high-severity vulnerability (CVSS 8.6) in MongoDB Ruby Driver.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 8.6.

Affected products and versions

MongoDB Ruby Driver >= 4.0.0, < 9.1.3

ProductVersionsFixed in
MongoDB Ruby Driver>= 4.0.0, < 9.1.3—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-863

Relevant change history

  1. Published

    Preliminary advisory published.