{"schemaVersion":4,"id":"CVE-2026-135141","aliases":[],"status":"published","duplicateOf":null,"title":"Incorrect authorization from a discarded default scope in Mongoid","description":"A logic flaw in the query-building layer of the Mongoid object-document mapper causes a model-level default restriction that is meant to return no records to be silently discarded when it is combined into a query. A user with basic application privileges who sends an ordinary request may read, change, or remove records that the restriction was intended to withhold.","dates":{"published":"2026-11-25T17:44:16.867Z","modified":"2026-11-25T19:15:49.611Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.6,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.6,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.6,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0051,"percentile":0.45067,"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.0051,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0051,"percentile":0.45067}],"last30":[{"date":"2026-11-26T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0051,"percentile":0.45067}]},"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":"≥ 4.0.0, < 9.1.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0.0","startInclusive":true,"end":"9.1.3","endInclusive":false}}],"versionsText":"≥ 4.0.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-6025","label":"jira.mongodb.org/browse/MONGOID-6025","hostname":"jira.mongodb.org","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-25T17:44:16.867Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-25T19:15:49.611Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 8.6, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,86],"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.0051,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-25T19:15:49.611Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-25T19:15:49.611Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-25T19:15:49.611Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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:15:49.611Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-25T19:15:39.405Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.0051,"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:26.011Z","stale":false,"partial":false}}