{"affected":[{"defaultStatus":"unaffected","product":"Ruby Driver","source":"CNA: mongodb","vendor":"MongoDB","versions":[{"lessThan":"9.1.3","status":"affected","version":"4.0.0","versionType":"semver"}]}],"cveId":"CVE-2026-135141","cwes":["CWE-863"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":8.6,"severity":"high","source":"CNA: mongodb","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"},{"score":8.1,"severity":"high","source":"CNA: mongodb","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}],"modifiedAt":1795628656867,"publishedAt":1795628656867,"references":[{"source":"CNA: mongodb","tags":[],"url":"https://jira.mongodb.org/browse/MONGOID-6025"}],"remediation":[],"revision":"aa84f5c647c0a757b7cdc511e0f0bbd1c052a620d3eca875ebb88123b44366ad","sources":[{"modifiedAt":1795628656867,"name":"CNA: mongodb","retrievedAt":1795630151680,"url":"https://www.cve.org/CVERecord?id=CVE-2026-135141"}],"ssvc":null,"status":"published","title":"Incorrect authorization from a discarded default scope in Mongoid","updatedAt":1795630151680}