CVE-2026-135140
5.3medium
Cleartext storage of encrypted foreign key fields in Mongoid
- Severity
- 5.3medium CVSS:4.0 by mongodb
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB Ruby Driver | from 9.0.0 before 9.1.3 | CVE List |
All scores
| mongodb | 5.3medium CVSS:4.0 | 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 |
| mongodb | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-135140 changed 2026-11-25 | CVE Terms of Use |
| NVD | CVE-2026-135140 changed 2026-11-25 | Public domain |