{"id":"CVE-2026-135140","aliases":[],"title":"Cleartext storage of encrypted foreign key fields in Mongoid","originalDescription":"Mongoid may omit a field from the client-side encryption settings it generates for a collection when that same field is also used as a reference to another record. The value is then stored in readable form instead of encrypted, and the application receives no indication that this has happened. A party with ordinary authenticated read access to the affected collection may be able to view data that was intended to be protected.","severity":{"cvss":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00168,"percentile":0.03503},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"Ruby Driver","range":">=9.0.0, <9.1.3","fixed":"9.1.3"}],"references":[{"url":"https://jira.mongodb.org/browse/MONGOID-6026","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-25T20:25:28.786Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135140","license":"NVD terms of use","firstSeenAt":"2026-11-25T18:46:41.541Z"},{"name":"cvelistV5","at":"2026-11-28T22:40:54.813Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-135140","license":"CVE Terms of Use","firstSeenAt":"2026-11-25T18:10:53.809Z"}],"firstSeenAt":"2026-11-25T18:10:53.809Z","publishedAt":"2026-11-25T17:44:53.133Z","modifiedAt":"2026-11-25T20:18:37.023Z"}