P3 · MediumCVSS 6.5
Incorrect authorization in has_many delete_all in Mongoid
- CVE-2026-135139
- GHSA-9p32-jgc3-hmrv
- EUVD-2026-135620
Description
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.
Text from the CVE.org record.
Affected
MongoDB Ruby Driver
- from 2.1.0 to before 9.1.3
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.