freenode

← CVE tracker

CVE-2026-135140

Cleartext storage of encrypted foreign key fields in Mongoid

Severity
medium CVSS 5.3 (v4.0)
Affects
Ruby Driver · MongoDB
Weakness
CWE-312: Cleartext Storage of Sensitive Information
Published
25 November 2026 by mongodb
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.