{"schemaVersion":4,"id":"CVE-2026-135139","aliases":[],"status":"published","duplicateOf":null,"title":"Incorrect authorization in has_many delete_all in Mongoid","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.","dates":{"published":"2026-11-25T17:45:12.884Z","modified":"2026-11-25T19:12:33.082Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6,"severity":"medium","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00452,"percentile":0.41016,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-26T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00452,"percentile":0.41016}],"last30":[{"date":"2026-11-26T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00452,"percentile":0.41016}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"}],"affected":[{"vendor":"mongodb","product":"ruby driver","name":"Ruby Driver","label":"ruby driver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.1.0, < 9.1.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.1.0","startInclusive":true,"end":"9.1.3","endInclusive":false}}],"versionsText":"≥ 2.1.0, < 9.1.3","eol":null,"hubHref":"/vendor/mongodb/ruby_driver"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://jira.mongodb.org/browse/MONGOID-6030","label":"jira.mongodb.org/browse/MONGOID-6030","hostname":"jira.mongodb.org","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-25T17:45:12.884Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-25T19:12:33.082Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,60],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00452,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-25T19:12:33.082Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-25T19:12:33.082Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-25T19:12:33.082Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-25T19:12:33.082Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-25T19:12:24.986Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"}],"epss":{"value":0.00452,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:05:31.505Z","stale":false,"partial":false}}