Mongoid has a vulnerability where it builds an incomplete automatic encryption schema for certain embedded document associations. This flaw can cause values intended to be encrypted to be stored in cleartext in the database without any error or warning. An attacker with read-only access to the affected collection can access these plaintext values without needing encryption keys.