{"id":"CVE-2026-135139","aliases":[],"title":"Incorrect authorization in has_many delete_all in Mongoid","originalDescription":"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.","severity":{"cvss":6,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00452,"percentile":0.3125},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"Ruby Driver","range":">=2.1.0, <9.1.3","fixed":"9.1.3"}],"references":[{"url":"https://jira.mongodb.org/browse/MONGOID-6030","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-25T20:25:28.784Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135139","license":"NVD terms of use","firstSeenAt":"2026-11-25T18:46:41.539Z"},{"name":"cvelistV5","at":"2026-11-28T22:40:54.804Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-135139","license":"CVE Terms of Use","firstSeenAt":"2026-11-25T18:10:53.830Z"}],"firstSeenAt":"2026-11-25T18:10:53.830Z","publishedAt":"2026-11-25T17:45:12.884Z","modifiedAt":"2026-11-25T20:18:36.900Z"}