freenode

← CVE tracker

CVE-2026-135139

Incorrect authorization in has_many delete_all in Mongoid

Severity
medium CVSS 6.0 (v4.0)
Affects
Ruby Driver · MongoDB
Weakness
CWE-863: Incorrect Authorization
Published
25 November 2026 by mongodb
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.