{"affected":[{"defaultStatus":"unaffected","product":"Ruby Driver","source":"CNA: mongodb","vendor":"MongoDB","versions":[{"lessThan":"9.1.3","status":"affected","version":"2.1.0","versionType":"semver"}]}],"cveId":"CVE-2026-135139","cwes":["CWE-863"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":6,"severity":"medium","source":"CNA: mongodb","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","version":"4.0"},{"score":6.5,"severity":"medium","source":"CNA: mongodb","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}],"modifiedAt":1795628712884,"publishedAt":1795628712884,"references":[{"source":"CNA: mongodb","tags":[],"url":"https://jira.mongodb.org/browse/MONGOID-6030"}],"remediation":[],"revision":"8ea744fb0712fbedd622d155a74e3e618d0de397e2986fa7d0763fab3dee9c75","sources":[{"modifiedAt":1795628712884,"name":"CNA: mongodb","retrievedAt":1795630149449,"url":"https://www.cve.org/CVERecord?id=CVE-2026-135139"}],"ssvc":null,"status":"published","title":"Incorrect authorization in has_many delete_all in Mongoid","updatedAt":1795630149449}