CVE-2026-135140
Cleartext storage of encrypted foreign key fields in Mongoid
CVSS Score
4.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-312 |
| Vendor | mongodb |
| Product | ruby driver |
| Ecosystems | |
| Industries | Technology |
| Published | Nov 25, 2026 |
| Last Updated | Nov 25, 2026 |
Stay Ahead of the Next One
Get instant alerts for mongodb ruby driver
Be the first to know when new medium vulnerabilities affecting mongodb ruby driver are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
Affected Versions
MongoDB / Ruby Driver
9.0.0 < 9.1.3