Medium · published September 18, 2026
A protection mechanism failure in the object-document mapper's encryption configuration generation can cause fields that an application declared for client-side field-level encryption to be written and kept in cleartext, without any error or warning. A party holding ordinary read access to the database can then read values that were intended to be protected from that party. This may result in unintended disclosure of sensitive information.
| Product | Versions | Fixed in |
|---|---|---|
| mongodb/mongoid | ≥ 9.0.0, < 9.0.12 | 9.0.12 |
| mongodb/mongoid | all versions | — |