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-135139: medium-severity vulnerability (CVSS 6) in MongoDB Ruby Driver.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 6.
Affected products and versions
MongoDB Ruby Driver >= 2.1.0, < 9.1.3
| Product | Versions | Fixed in |
|---|---|---|
| MongoDB Ruby Driver | >= 2.1.0, < 9.1.3 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://jira.mongodb.org/browse/MONGOID-6030 — CVE Program
Weaknesses (CWE): CWE-863
Relevant change history
Published
Preliminary advisory published.