{"schemaVersion":4,"id":"CVE-2026-135140","aliases":[],"status":"published","duplicateOf":null,"title":"Cleartext storage of encrypted foreign key fields in Mongoid","description":"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.","dates":{"published":"2026-11-25T17:44:53.133Z","modified":"2026-11-25T19:13:54.142Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.3,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.3,"severity":"medium","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/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":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00168,"percentile":0.06379,"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.00168,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00168,"percentile":0.06379}],"last30":[{"date":"2026-11-26T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00168,"percentile":0.06379}]},"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-312","name":"Cleartext Storage of Sensitive Information","description":"The product stores sensitive information in cleartext within a resource that might be accessible to another control sphere.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/312.html"}],"affected":[{"vendor":"mongodb","product":"ruby driver","name":"Ruby Driver","label":"ruby driver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 9.0.0, < 9.1.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"9.0.0","startInclusive":true,"end":"9.1.3","endInclusive":false}}],"versionsText":"≥ 9.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-6026","label":"jira.mongodb.org/browse/MONGOID-6026","hostname":"jira.mongodb.org","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-25T17:44:53.133Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-25T19:13:54.142Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,53],"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.00168,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-25T19:13:54.142Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-25T19:13:54.142Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-25T19:13:54.142Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":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/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:13:54.142Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-25T19:13:41.982Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00168,"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.478Z","stale":false,"partial":false}}