{"id":"CVE-2026-135140","aliases":["CVE-2026-135140"],"related":[],"kind":"vulnerability","state":"published","title":"Cleartext storage of encrypted foreign key fields in Mongoid","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-25T17:44:53.133Z","modified":"2026-11-25T20:18:37.023Z","severity":{"scorer":"mongodb","scheme":"CVSS:4.0","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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"mongodb","scheme":"CVSS:4.0","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","score":5.3,"rating":"MEDIUM"},{"scorer":"mongodb","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-312"],"affected":[{"ranges":[{"type":"semver","introduced":"9.0.0","fixed":"9.1.3","status":"affected"}],"vendor":"MongoDB","product":"Ruby Driver","source":"cvelist"}],"references":[{"url":"https://jira.mongodb.org/browse/MONGOID-6026","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mongodb","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-25T19:13:41.982Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-135140","url":"https://www.cve.org/CVERecord?id=CVE-2026-135140","licence":"CVE Terms of Use","modified":"2026-11-25T19:13:54.142Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-135140","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135140","licence":"Public domain","modified":"2026-11-25T20:18:37.023Z"}],"updatedAt":"2026-11-25T23:18:16.946Z","epss":{"score":0.00168,"percentile":0.0643,"date":"2026-12-01T12:00:22.000Z"}}