{"id":"CVE-2026-135139","aliases":["CVE-2026-135139"],"related":[],"kind":"vulnerability","state":"published","title":"Incorrect authorization in has_many delete_all in Mongoid","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-25T17:45:12.884Z","modified":"2026-11-25T20:18:36.900Z","severity":{"scorer":"mongodb","scheme":"CVSS:4.0","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","score":6,"rating":"MEDIUM"},"severities":[{"scorer":"mongodb","scheme":"CVSS:4.0","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","score":6,"rating":"MEDIUM"},{"scorer":"mongodb","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"2.1.0","fixed":"9.1.3","status":"affected"}],"vendor":"MongoDB","product":"Ruby Driver","source":"cvelist"}],"references":[{"url":"https://jira.mongodb.org/browse/MONGOID-6030","tags":["exploit"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mongodb","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-25T19:12:24.986Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-135139","url":"https://www.cve.org/CVERecord?id=CVE-2026-135139","licence":"CVE Terms of Use","modified":"2026-11-25T19:12:33.082Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-135139","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135139","licence":"Public domain","modified":"2026-11-25T20:18:36.900Z"}],"updatedAt":"2026-11-25T23:18:30.045Z","epss":{"score":0.00452,"percentile":0.41006,"date":"2026-12-01T12:00:22.000Z"}}