{"id":"CVE-2026-135140","aliases":[],"cve":{"records":[{"id":"CVE-2026-135140","source":"mongodb","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-11-23T14:11:16.724Z","published":"2026-11-25T17:44:53.133Z","modified":"2026-11-25T19:13:54.142Z"}],"publishers":[{"name":"mongodb","role":"CNA","organizationId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","modified":"2026-11-25T17:44:53.133Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-25T19:13:54.142Z"}],"references":[{"url":"https://jira.mongodb.org/browse/MONGOID-6026","tags":[],"source":"mongodb"}],"weaknesses":[{"id":"CWE-312","description":"CWE-312: Cleartext Storage of Sensitive Information","source":"mongodb"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-25T19:13:41.982515Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"Cleartext storage of encrypted foreign key fields in Mongoid","titleSource":"mongodb","descriptionSource":"mongodb","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.","score":5.3,"severity":"medium","published":"2026-11-25T17:44:53.133Z","modified":"2026-11-25T19:13:54.142Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"MongoDB","name":"Ruby Driver","platforms":[],"versions":[{"version":"9.0.0","status":"affected","lessThan":"9.1.3","versionType":"semver"}],"defaultStatus":"unaffected","cpes":[],"source":"mongodb","url":"https://www.cve.org/CVERecord?id=CVE-2026-135140"}],"remediation":[],"references":["https://jira.mongodb.org/browse/MONGOID-6026"],"sources":[{"name":"CVE","id":"CVE-2026-135140","modified":"2026-11-25T19:13:54.142Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-135140"}],"assessments":[{"source":"mongodb","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},{"source":"mongodb","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3}],"sourceAffected":[],"observedAt":"2026-11-25T19:40:33.985Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T23:05:31.835Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-25T19:45:35.130Z","attemptedAt":"2026-11-25T19:45:35.130Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-25T18:45:35.587Z","attemptedAt":"2026-11-25T18:45:35.587Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-25T19:45:33.654Z","attemptedAt":"2026-11-25T19:45:33.654Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-25T19:45:33.614Z","attemptedAt":"2026-11-25T19:45:33.614Z"}],"evidence":[{"source":"GitHub Advisory Database","id":"GHSA-qwcj-f6jg-p4gj","url":"https://github.com/advisories/GHSA-qwcj-f6jg-p4gj","modified":"2026-11-25T18:30:55Z","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","checkedAt":"2026-11-25T18:45:35.587Z"},{"source":"ENISA EUVD","id":"EUVD-2026-135619","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-135619","modified":"Nov 25, 2026, 5:44:53 PM","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","checkedAt":"2026-11-25T19:45:33.654Z"},{"source":"NVD","id":"CVE-2026-135140","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135140","modified":"2026-11-25T18:18:50.290","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","checkedAt":"2026-11-25T19:45:35.130Z"},{"source":"NVD","id":"CVE-2026-135140","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135140","modified":"2026-11-25T18:18:50.290","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","checkedAt":"2026-11-25T19:45:35.130Z"}],"aiSummary":{"text":"Mongoid's Ruby Driver, version 9.0.0, may store encrypted foreign key fields in cleartext, allowing authenticated users with read access to view sensitive data. The issue affects versions before 9.1.3. An attacker with ordinary authenticated read access may be able to view protected data.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-25T18:26:10.194Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-135140"}]}}