CVE-2026-135135
Cleartext storage of encrypted embedded fields that use store_as in Mongoid
7.1
Description
Mongoid builds an incomplete automatic encryption schema for certain embedded document associations. As a result, values that the application declared as encrypted may be written to the database in cleartext, with no error or warning returned to the application. A party holding only basic read privileges on the affected collection, and no access to the encryption keys, may then obtain those values in readable form.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| ruby driver | mongodb | 9.0.0 → <9.1.3 | 9.1.3 | CVE.org |