CVE-2026-135139: MongoDB Ruby Driver

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

Mongoid contains an incorrect authorization weakness in the handling of caller-supplied filters for bulk removal through a referenced association. Conditions already attached to the association can take precedence over the filter the caller supplied, so records the caller did not select may be removed. A user with basic privileges in an application built on the library may cause unintended removal of records belonging to the same parent record.

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 2.1.0, before 9.1.3: fixed in 9.1.3

Affected products

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