CVE-2026-135141: MongoDB Ruby Driver

High severity, CVSS 8.1. EPSS: 0.5% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • MongoDB Ruby Driver, from 4.0.0, before 9.1.3: fixed in 9.1.3

Affected products

Published 2026-11-25. Last modified 2026-11-25.