What’s Vulnerable › Vulnerabilities

CVE-2026-93764: Plaintext storage of encrypted fields via skipped embedded models in encryption schema generation

Description

Mongoid may omit encryption rules for fields declared on embedded models when generating the client-side field-level encryption schema. Applications that enable this feature can therefore store values intended to be encrypted in readable form, with no error or warning. A party with routine read access to the database, a backup, or the underlying data files may then see data that was meant to remain unreadable outside the application.

Affected products

How to fix

Upgrade to a fixed version: MongoDB Inc. Mongoid 9.0.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-93764 or the next vulnerability affects your stack