P3 · MediumCVSS 6.5EPSS 0.1%
Mongoid stores encrypted fields in plaintext when two models share a collection
- CVE-2026-126817
- GHSA-jw2c-7599-4ghc
- EUVD-2026-125452
Description
A flaw in the automatic client-side encryption schema generation of the Mongoid ODM may cause values that an application declared for encryption to be written and stored as cleartext when more than one model is mapped onto the same storage location. No error or warning is raised. A party holding an ordinary read-only database account, with no access to the encryption key material, may then obtain those values in clear form.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
MongoDB Ruby Driver
Affected versions Fixed in 9.0.0 none stated 9.0.1 none stated 9.0.2 none stated 9.0.3 none stated 9.0.4 none stated 9.0.5 none stated 9.0.6 none stated 9.0.7 none stated and 7 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.